From f174d99844cbc2aff6c8cf4c2148d56b483b8ac4 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 24 Jun 2019 22:48:31 +1000 Subject: [PATCH] Change app title block --- lib/main.dart | 4 ++-- pubspec.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index f4ebf1dd..57259a64 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -7,7 +7,7 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( - title: 'Flutter Demo', + title: 'InvenTree', theme: ThemeData( // This is the theme of your application. // @@ -20,7 +20,7 @@ class MyApp extends StatelessWidget { // is not restarted. primarySwatch: Colors.blue, ), - home: MyHomePage(title: 'Flutter Demo Home Page'), + home: MyHomePage(title: 'InvenTree'), ); } } diff --git a/pubspec.yaml b/pubspec.yaml index a1780550..c15fabbe 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -45,6 +45,9 @@ flutter: # the material Icons class. uses-material-design: true + assets: + - assets/image/icon.png + # To add assets to your application, add an assets section, like this: # assets: # - images/a_dot_burr.jpeg