diff --git a/android/app/build.gradle b/android/app/build.gradle index 526952a..fcf22aa 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -25,6 +25,12 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" +def keystoreProperties = new Properties() +def keystorePropertiesFile = rootProject.file('key.properties') +if (keystorePropertiesFile.exists()) { + keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) +} + android { compileSdkVersion 28 @@ -37,7 +43,6 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "tech.urmilshroff.dashboard_reborn" minSdkVersion 24 targetSdkVersion 28 @@ -46,13 +51,22 @@ android { testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig signingConfigs.debug - } - } + signingConfigs { + release { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile file(keystoreProperties['storeFile']) + storePassword keystoreProperties['storePassword'] + } + } + + buildTypes { + release { + signingConfig signingConfigs.release + minifyEnabled false + useProguard false + } + } } flutter { diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 35bb9b4..82a467c 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -3,7 +3,7 @@ + android:icon="@mipmap/launcher_icon"> runApp(MyApp()); @@ -14,6 +10,7 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return DynamicTheme( + //for dark mode/light mode defaultBrightness: Brightness.dark, data: (brightness) => ThemeData( primaryColor: MyColors.primaryColor, diff --git a/lib/pages/about_page.dart b/lib/pages/about_page.dart index 148e0cb..b0101f3 100644 --- a/lib/pages/about_page.dart +++ b/lib/pages/about_page.dart @@ -1,14 +1,11 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/main.dart'; import 'package:dashboard_reborn/utils/colors.dart'; import 'package:dashboard_reborn/utils/functions.dart'; import 'package:dashboard_reborn/utils/textstyles.dart'; import 'package:dashboard_reborn/widgets/tile.dart'; -import 'package:dynamic_theme/dynamic_theme.dart'; import 'package:eva_icons_flutter/eva_icons_flutter.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; -import 'package:url_launcher/url_launcher.dart'; class MyAboutPage extends StatefulWidget { @override @@ -34,7 +31,8 @@ class _MyAboutPageState extends State { 'the Flutter community. \n\nPlease see the ' 'README.md file in the repository below for ' 'more details.', - ]; + ]; //the text in the tile + @override Widget build(BuildContext context) { return Scaffold( diff --git a/lib/pages/gradients_page.dart b/lib/pages/gradients_page.dart index 1f21531..43b8a30 100644 --- a/lib/pages/gradients_page.dart +++ b/lib/pages/gradients_page.dart @@ -1,17 +1,11 @@ -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/main.dart'; import 'package:dashboard_reborn/utils/colors.dart'; import 'package:dashboard_reborn/utils/functions.dart'; -import 'package:dashboard_reborn/utils/textstyles.dart'; -import 'package:dashboard_reborn/widgets/tile.dart'; -import 'package:dynamic_theme/dynamic_theme.dart'; -import 'package:eva_icons_flutter/eva_icons_flutter.dart'; -import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; -import 'package:dashboard_reborn/widgets/swiping_cards.dart'; -import 'package:dashboard_reborn/widgets/parallax_cards.dart'; import 'package:dashboard_reborn/utils/page_transformer.dart'; +import 'package:dashboard_reborn/widgets/parallax_cards.dart'; +import 'package:dashboard_reborn/widgets/swiping_cards.dart'; +import 'package:eva_icons_flutter/eva_icons_flutter.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; import 'package:gradient_widgets/gradient_widgets.dart'; List swipingCardImages = [ @@ -93,6 +87,7 @@ class _MyGradientsPageState extends State { body: Container( decoration: BoxDecoration( gradient: LinearGradient( + //gradient colors change according to set theme colors: isThemeCurrentlyDark(context) ? [GradientColors.darkStart, GradientColors.darkEnd] : [GradientColors.lightStart, GradientColors.lightEnd], @@ -126,7 +121,8 @@ class _MyGradientsPageState extends State { shaderRect: Rect.fromLTWH(0.0, 0.0, 50.0, 50.0), gradient: isThemeCurrentlyDark(context) ? Gradients.coldLinear - : Gradients.haze, + : Gradients + .haze, //gradient colors change according to set theme style: TextStyle( fontFamily: 'Rubik', fontWeight: FontWeight.w600, diff --git a/lib/pages/home_page.dart b/lib/pages/home_page.dart index c589901..7c96585 100644 --- a/lib/pages/home_page.dart +++ b/lib/pages/home_page.dart @@ -1,16 +1,15 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/main.dart'; +import 'package:dashboard_reborn/pages/about_page.dart'; +import 'package:dashboard_reborn/pages/gradients_page.dart'; +import 'package:dashboard_reborn/pages/material_page.dart'; import 'package:dashboard_reborn/utils/colors.dart'; import 'package:dashboard_reborn/utils/functions.dart'; -import 'package:dashboard_reborn/utils/textstyles.dart'; import 'package:dashboard_reborn/widgets/tile.dart'; import 'package:dynamic_theme/dynamic_theme.dart'; import 'package:eva_icons_flutter/eva_icons_flutter.dart'; -import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; -import 'package:dashboard_reborn/pages/gradients_page.dart'; -import 'package:dashboard_reborn/pages/material_page.dart'; -import 'package:dashboard_reborn/pages/about_page.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; + +//this page is based on https://github.com/Ivaskuu/dashboard class MyHomePage extends StatefulWidget { @override @@ -35,7 +34,7 @@ class _MyHomePageState extends State { List splashColors = [ invertColorsMaterial(context), MaterialColors.blue, - invertColorsStrong(context), + MyColors.accentColor, ]; //splash color of the individual tile, mapped to index values return Scaffold( @@ -69,7 +68,8 @@ class _MyHomePageState extends State { childAspectRatio: 2.5, children: List.generate(itemNames.length, (index) { return Hero( - tag: 'tile$index', + tag: 'tile$index', //using a different hero widget tag for + // each page mapped to the page's index value child: buildTile( context, tileColors[index], @@ -102,7 +102,7 @@ class _MyHomePageState extends State { return null; } })); - }, + }, //opens appropriate page ), ); }), @@ -114,8 +114,14 @@ class _MyHomePageState extends State { floatingActionButton: FloatingActionButton( heroTag: 'fab', child: isThemeCurrentlyDark(context) - ? Icon(EvaIcons.sun, size: 30.0,) //show sun icon - : Icon(EvaIcons.moon, size: 26.0,), //show moon icon, + ? Icon( + EvaIcons.sun, + size: 30.0, + ) //show sun icon when in dark mode + : Icon( + EvaIcons.moon, + size: 26.0, + ), //show moon icon when in light mode tooltip: isThemeCurrentlyDark(context) ? 'Switch to light mode' : 'Switch to dark mode', diff --git a/lib/pages/material_page.dart b/lib/pages/material_page.dart index 5708853..536293f 100644 --- a/lib/pages/material_page.dart +++ b/lib/pages/material_page.dart @@ -1,14 +1,10 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/main.dart'; import 'package:dashboard_reborn/utils/colors.dart'; import 'package:dashboard_reborn/utils/functions.dart'; -import 'package:dashboard_reborn/utils/textstyles.dart'; +import 'package:dashboard_reborn/widgets/bottom_sheet.dart'; import 'package:dashboard_reborn/widgets/tile.dart'; -import 'package:dynamic_theme/dynamic_theme.dart'; import 'package:eva_icons_flutter/eva_icons_flutter.dart'; -import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; -import 'package:dashboard_reborn/widgets/bottom_sheet.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; class MyMaterialPage extends StatefulWidget { @override @@ -30,13 +26,14 @@ class _MyMaterialPageState extends State { ]; //color of the individual tile, mapped to index values List splashColors = [ - MaterialColors.red, + MyColors.accentColor, null, null, ]; //splash color of the individual tile, mapped to index values return Scaffold( - backgroundColor: invertColorsMaterial(context), + backgroundColor: invertColorsMaterial(context), //color changes + // according to currently set theme body: Container( child: Stack(children: [ Column( @@ -119,7 +116,7 @@ class _MyMaterialPageState extends State { ), ], ), - SexyBottomSheet(), + SexyBottomSheet(), //the awesome sliding up bottom sheet ]), ), ); diff --git a/lib/pages/note_page.dart b/lib/pages/note_page.dart index b4ce01c..bb19acd 100644 --- a/lib/pages/note_page.dart +++ b/lib/pages/note_page.dart @@ -1,15 +1,11 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/main.dart'; +import 'package:dashboard_reborn/pages/home_page.dart'; import 'package:dashboard_reborn/utils/colors.dart'; import 'package:dashboard_reborn/utils/functions.dart'; import 'package:dashboard_reborn/utils/textstyles.dart'; import 'package:dashboard_reborn/widgets/tile.dart'; -import 'package:dynamic_theme/dynamic_theme.dart'; import 'package:eva_icons_flutter/eva_icons_flutter.dart'; -import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; -import 'package:dashboard_reborn/pages/home_page.dart'; -import 'package:dashboard_reborn/pages/about_page.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; class MyNotePage extends StatefulWidget { @override @@ -21,11 +17,11 @@ class _MyNotePageState extends State { 'Note: this app does nothing.', 'Yep, you read that right! It\'s only meant to serve as a UI template for' ' Flutter developers to use in their own apps.\n\nThe ' - 'entire source code is freely available on GitHub, and you have the ' - 'liberty to do whatever you want with it.\n\nEnjoy, and don\'t forget' - ' to star the project on GitHub. It really helps me out!\n\n- ' - 'Urmil Shroff', - ]; + 'entire source code is freely available on GitHub, and you can tweak ' + 'it and use it as per your liking.\n\nEnjoy, and don\'t forget' + ' to star the project on GitHub. It really helps me out!\n\n- Urmil ' + 'Shroff', + ]; //the text in the tile @override Widget build(BuildContext context) { @@ -58,6 +54,7 @@ class _MyNotePageState extends State { childAspectRatio: 0.8, children: List.generate(1, (index) { return Hero( + //hero widget renders a smooth animation tag: 'tile2', child: buildTile( context, diff --git a/lib/utils/colors.dart b/lib/utils/colors.dart index 96bf2bb..7f674f9 100644 --- a/lib/utils/colors.dart +++ b/lib/utils/colors.dart @@ -1,8 +1,5 @@ -import 'package:flutter/material.dart'; import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/utils/functions.dart'; -import 'package:dashboard_reborn/utils/textstyles.dart'; -import 'package:dashboard_reborn/widgets/tile.dart'; +import 'package:flutter/material.dart'; class MyColors { static const primaryColor = Color(0xff212121); @@ -14,7 +11,7 @@ class MyColors { static const heart = Color(0xfff50057); static const twitter = Color(0xff00b0ff); static const github = Color(0xff212121); -} +} //main app colors class MaterialColors { static const red = Color(0xffd50000); @@ -25,16 +22,16 @@ class MaterialColors { static const pink = Color(0xffc51162); static const orange = Color(0xffff6d00); static const teal = Color(0xff00bfa5); -} +} //colors used in the material page class GradientColors { static const lightStart = Color(0xffdd2c00); static const lightEnd = Color(0xffffa000); static const darkStart = Color(0xff304ffe); static const darkEnd = Color(0xff00bcd4); -} +} //colors used in the gradients page class ShadowColors { static const shadowLight = Color(0x80718792); static const shadowDark = Color(0x801c313a); -} +} //colors used for tile shadows diff --git a/lib/utils/functions.dart b/lib/utils/functions.dart index e0c11bb..6b5d535 100644 --- a/lib/utils/functions.dart +++ b/lib/utils/functions.dart @@ -1,13 +1,11 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; import 'package:dashboard_reborn/utils/colors.dart'; -import 'package:dashboard_reborn/utils/textstyles.dart'; -import 'package:dashboard_reborn/widgets/tile.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; void doNothing() { - print('Nothing is happening here'); -} + print('Nothing is happening here (yet)'); +} //better than doing null-ing, right? ;) bool isThemeCurrentlyDark(BuildContext context) { if (Theme.of(context).brightness == Brightness.dark) { @@ -65,17 +63,6 @@ Color shadowColor(BuildContext context) { } } //returns appropriate shadow colors -void showSnackBar(BuildContext context, String message) { - final snackBar = SnackBar(content: Text(message)); - Scaffold.of(context).showSnackBar(snackBar); -} //easily show a snackbar - -void navigateToPage(BuildContext context, pageToOpen) async { - await Navigator.push(context, CupertinoPageRoute(builder: (context) { - return pageToOpen(); - })); -} - launchURL(String url) async { if (await canLaunch(url)) { print('Launching $url...'); @@ -83,4 +70,4 @@ launchURL(String url) async { } else { print('Error launching $url!'); } -} +} //opens a custom url in the system browser diff --git a/lib/utils/page_transformer.dart b/lib/utils/page_transformer.dart index 39d01ba..da78492 100755 --- a/lib/utils/page_transformer.dart +++ b/lib/utils/page_transformer.dart @@ -11,7 +11,7 @@ class PageVisibilityResolver { PageVisibilityResolver({ ScrollMetrics metrics, double viewPortFraction, - }) : this._pageMetrics = metrics, + }) : this._pageMetrics = metrics, this._viewPortFraction = viewPortFraction; final ScrollMetrics _pageMetrics; diff --git a/lib/utils/textstyles.dart b/lib/utils/textstyles.dart index fb2eb8d..ec0205b 100644 --- a/lib/utils/textstyles.dart +++ b/lib/utils/textstyles.dart @@ -1,16 +1,13 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; import 'package:dashboard_reborn/utils/colors.dart'; -import 'package:dashboard_reborn/utils/functions.dart'; -import 'package:dashboard_reborn/widgets/tile.dart'; -import 'package:gradient_widgets/gradient_widgets.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; class MyTextStyles { static const titleStyle = TextStyle( fontFamily: 'Rubik', fontWeight: FontWeight.w600, fontSize: 22.0, - ); + ); //used for page titles on the top of the screen static const gradientCardTitleStyle = TextStyle( fontWeight: FontWeight.w700, fontSize: 20.0, color: MyColors.white); @@ -22,11 +19,5 @@ class MyTextStyles { fontFamily: 'RobotoMono', fontWeight: FontWeight.w500, fontSize: 18.0, - color: MyColors.accentColor); - - static const buttonStyle = TextStyle( - fontFamily: 'Rubik', - fontWeight: FontWeight.w600, - fontSize: 20.0, - ); + color: MyColors.accentColor); //used for important text } diff --git a/lib/widgets/bottom_sheet.dart b/lib/widgets/bottom_sheet.dart index 9d4213d..dcbb2fa 100644 --- a/lib/widgets/bottom_sheet.dart +++ b/lib/widgets/bottom_sheet.dart @@ -1,15 +1,13 @@ import 'dart:math' as math; import 'dart:ui'; -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/main.dart'; + import 'package:dashboard_reborn/utils/colors.dart'; import 'package:dashboard_reborn/utils/functions.dart'; -import 'package:dashboard_reborn/utils/textstyles.dart'; import 'package:dashboard_reborn/widgets/tile.dart'; -import 'package:dynamic_theme/dynamic_theme.dart'; -import 'package:eva_icons_flutter/eva_icons_flutter.dart'; -import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; + +//this code is borrowed and then modified from https://github.com/MarcinusX/buy_ticket_design const double minHeight = 80; const double iconStartSize = 75; @@ -101,7 +99,6 @@ class _SexyBottomSheetState extends State shadowColor: shadowColor(context), child: InkWell( onTap: doNothing, - splashColor: MaterialColors.blue, child: Container( padding: EdgeInsets.symmetric(horizontal: 20), child: Stack( @@ -133,7 +130,7 @@ class _SexyBottomSheetState extends State child: ClipRRect( borderRadius: BorderRadius.all(Radius.circular(15.0)), child: Image.asset( - 'assets/images/material2.gif', + 'assets/images/icon-nobg.png', fit: BoxFit.cover, alignment: Alignment(lerp(0, 0), 0), ), @@ -204,7 +201,7 @@ class ExpandedSheetItem extends StatelessWidget { child: buildTile( context, invertColorsMaterial(context), - MaterialColors.green, + MyColors.accentColor, Row( mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.center, diff --git a/lib/widgets/parallax_cards.dart b/lib/widgets/parallax_cards.dart index e589cd1..63a229f 100644 --- a/lib/widgets/parallax_cards.dart +++ b/lib/widgets/parallax_cards.dart @@ -1,18 +1,14 @@ -import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/main.dart'; +import 'package:dashboard_reborn/pages/gradients_page.dart'; import 'package:dashboard_reborn/utils/colors.dart'; import 'package:dashboard_reborn/utils/functions.dart'; -import 'package:dashboard_reborn/utils/textstyles.dart'; -import 'package:dashboard_reborn/widgets/tile.dart'; -import 'package:dynamic_theme/dynamic_theme.dart'; -import 'package:eva_icons_flutter/eva_icons_flutter.dart'; -import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; -import 'package:dashboard_reborn/pages/gradients_page.dart'; import 'package:dashboard_reborn/utils/page_transformer.dart'; -import 'package:meta/meta.dart'; +import 'package:dashboard_reborn/utils/textstyles.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; import 'package:gradient_widgets/gradient_widgets.dart'; +import 'package:meta/meta.dart'; + +//these cards are modified from https://github.com/roughike/page-transformer class ParallaxCardsWidget extends StatelessWidget { ParallaxCardsWidget({ diff --git a/lib/widgets/swiping_cards.dart b/lib/widgets/swiping_cards.dart index a46a69d..0e76a3a 100644 --- a/lib/widgets/swiping_cards.dart +++ b/lib/widgets/swiping_cards.dart @@ -1,17 +1,14 @@ import 'dart:math'; -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/main.dart'; -import 'package:dashboard_reborn/utils/colors.dart'; + +import 'package:dashboard_reborn/pages/gradients_page.dart'; import 'package:dashboard_reborn/utils/functions.dart'; import 'package:dashboard_reborn/utils/textstyles.dart'; -import 'package:dashboard_reborn/widgets/tile.dart'; -import 'package:dynamic_theme/dynamic_theme.dart'; -import 'package:eva_icons_flutter/eva_icons_flutter.dart'; -import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; -import 'package:dashboard_reborn/pages/gradients_page.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; import 'package:gradient_widgets/gradient_widgets.dart'; +//these cards are modified from https://github.com/devefy/Flutter-Story-App-UI + // ignore: must_be_immutable class SwipingCardsWidget extends StatelessWidget { var currentPage; diff --git a/lib/widgets/tile.dart b/lib/widgets/tile.dart index d613e8b..f9ca99b 100644 --- a/lib/widgets/tile.dart +++ b/lib/widgets/tile.dart @@ -1,8 +1,8 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:dashboard_reborn/utils/colors.dart'; import 'package:dashboard_reborn/utils/functions.dart'; -import 'package:dashboard_reborn/utils/textstyles.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; + +//this is the main tile builder taken and modified from https://github.com/Ivaskuu/dashboard Widget buildTile( BuildContext context, Color color, Color splashColor, Widget child, @@ -21,7 +21,8 @@ Widget buildTile( print('Nothing set yet!'); }, child: child, - splashColor: splashColor, + splashColor: splashColor, //additional parameters to customize the + // colors on a per-tile basis )), ); } diff --git a/pubspec.lock b/pubspec.lock index b88e2b4..9dd0e38 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1,6 +1,20 @@ # Generated by pub # See https://www.dartlang.org/tools/pub/glossary#lockfile packages: + archive: + dependency: transitive + description: + name: archive + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.10" + args: + dependency: transitive + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.2" async: dependency: transitive description: @@ -29,6 +43,20 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.14.11" + convert: + dependency: transitive + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + dependency: transitive + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.6" cupertino_icons: dependency: "direct main" description: @@ -55,6 +83,13 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_launcher_icons: + dependency: "direct dev" + description: + name: flutter_launcher_icons + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.2" flutter_staggered_grid_view: dependency: "direct main" description: @@ -74,6 +109,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.5.0" + image: + dependency: transitive + description: + name: image + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.4" matcher: dependency: transitive description: @@ -102,6 +144,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.5.0" + petitparser: + dependency: transitive + description: + name: petitparser + url: "https://pub.dartlang.org" + source: hosted + version: "2.2.1" quiver: dependency: transitive description: @@ -184,6 +233,20 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.0.8" + xml: + dependency: transitive + description: + name: xml + url: "https://pub.dartlang.org" + source: hosted + version: "3.4.1" + yaml: + dependency: transitive + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.16" sdks: dart: ">=2.2.0 <3.0.0" flutter: ">=1.5.0 <2.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 4524563..038a03a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,6 +18,13 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter + flutter_launcher_icons: + +flutter_icons: + android: "launcher_icon" + ios: true + image_path_android: "assets/images/icon-nobg.png" + image_path_ios: "assets/images/icon-bg.png" flutter: uses-material-design: true