Skip to content

Commit 9aceb3a

Browse files
committed
Add logo
1 parent 8d9a608 commit 9aceb3a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

assets/images/logo.png

14.5 KB
Loading

lib/pages/home_page.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ class _HomePageState extends State<HomePage> {
129129
return Scaffold(
130130
appBar: AppBar(
131131
toolbarHeight: 48.0,
132+
titleSpacing: 0.0,
133+
leading: Image.asset('assets/images/logo.png', width: 24.0, height: 24.0),
132134
title: const Text('Dart AST Node Viewer'),
133135
shape: Border(bottom: BorderSide(color: color, width: 1.0)),
134136
actionsPadding: const EdgeInsets.only(right: 8.0),

pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ flutter:
4343
assets:
4444
- assets/fonts/Lato/
4545
- assets/fonts/JetBrainsMono/
46+
- assets/images/
4647

4748
fonts:
4849
- family: Lato

0 commit comments

Comments
 (0)