Update Flutter

This commit is contained in:
Hillel Coren 2018-09-12 15:22:18 -07:00
parent 8e9edb3cda
commit f7a9f36f9a
6 changed files with 53 additions and 53 deletions

View File

@ -172,7 +172,7 @@ class AppDrawer extends StatelessWidget {
DrawerTile( DrawerTile(
company: company, company: company,
entityType: EntityType.invoice, entityType: EntityType.invoice,
icon: FontAwesomeIcons.filePdfO, icon: FontAwesomeIcons.filePdf,
title: AppLocalization.of(context).invoices, title: AppLocalization.of(context).invoices,
onTap: () => store.dispatch(ViewInvoiceList(context)), onTap: () => store.dispatch(ViewInvoiceList(context)),
onCreateTap: () { onCreateTap: () {
@ -197,7 +197,7 @@ class AppDrawer extends StatelessWidget {
DrawerTile( DrawerTile(
company: company, company: company,
entityType: EntityType.quote, entityType: EntityType.quote,
icon: FontAwesomeIcons.fileAltO, icon: FontAwesomeIcons.fileAlt,
title: AppLocalization.of(context).quotes, title: AppLocalization.of(context).quotes,
onTap: () => store.dispatch(ViewQuoteList(context)), onTap: () => store.dispatch(ViewQuoteList(context)),
onCreateTap: () { onCreateTap: () {

View File

@ -67,7 +67,7 @@ class ClientOverview extends StatelessWidget {
height: 1.0, height: 1.0,
), ),
EntityListTile( EntityListTile(
icon: FontAwesomeIcons.filePdfO, icon: FontAwesomeIcons.filePdf,
title: localization.invoices, title: localization.invoices,
onTap: () => viewModel.onEntityPressed(context, EntityType.invoice), onTap: () => viewModel.onEntityPressed(context, EntityType.invoice),
subtitle: memoizedInvoiceStatsForClient( subtitle: memoizedInvoiceStatsForClient(
@ -88,7 +88,7 @@ class ClientOverview extends StatelessWidget {
localization.archived), localization.archived),
), ),
company.isModuleEnabled(EntityType.quote) ? EntityListTile( company.isModuleEnabled(EntityType.quote) ? EntityListTile(
icon: FontAwesomeIcons.fileAltO, icon: FontAwesomeIcons.fileAlt,
title: localization.quotes, title: localization.quotes,
onTap: () => viewModel.onEntityPressed(context, EntityType.quote), onTap: () => viewModel.onEntityPressed(context, EntityType.quote),
subtitle: memoizedQuoteStatsForClient( subtitle: memoizedQuoteStatsForClient(

View File

@ -113,7 +113,7 @@ class _PaymentViewState extends State<PaymentView> {
color: Theme.of(context).canvasColor, color: Theme.of(context).canvasColor,
child: ListTile( child: ListTile(
title: Text('${localization.invoice} ${invoice.invoiceNumber}'), title: Text('${localization.invoice} ${invoice.invoiceNumber}'),
leading: Icon(FontAwesomeIcons.filePdfO, size: 18.0), leading: Icon(FontAwesomeIcons.filePdf, size: 18.0),
trailing: Icon(Icons.navigate_next), trailing: Icon(Icons.navigate_next),
onTap: () => viewModel.onTapInvoice(context), onTap: () => viewModel.onTapInvoice(context),
), ),

View File

@ -33,19 +33,19 @@ IconData getEntityIcon(EntityType entityType) {
case EntityType.client: case EntityType.client:
return FontAwesomeIcons.users; return FontAwesomeIcons.users;
case EntityType.invoice: case EntityType.invoice:
return FontAwesomeIcons.filePdfO; return FontAwesomeIcons.filePdf;
case EntityType.payment: case EntityType.payment:
return FontAwesomeIcons.creditCard; return FontAwesomeIcons.creditCard;
case EntityType.credit: case EntityType.credit:
return FontAwesomeIcons.creditCard; return FontAwesomeIcons.creditCard;
case EntityType.quote: case EntityType.quote:
return FontAwesomeIcons.fileAltO; return FontAwesomeIcons.fileAlt;
case EntityType.vendor: case EntityType.vendor:
return FontAwesomeIcons.building; return FontAwesomeIcons.building;
case EntityType.expense: case EntityType.expense:
return FontAwesomeIcons.fileImageO; return FontAwesomeIcons.fileImage;
case EntityType.task: case EntityType.task:
return FontAwesomeIcons.clockO; return FontAwesomeIcons.clock;
default: default:
return null; return null;
} }

View File

@ -14,7 +14,7 @@ packages:
name: analyzer_plugin name: analyzer_plugin
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.0.1-alpha.3" version: "0.0.1-alpha.4"
args: args:
dependency: transitive dependency: transitive
description: description:
@ -42,7 +42,7 @@ packages:
name: build name: build
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.6" version: "0.12.7+3"
build_config: build_config:
dependency: transitive dependency: transitive
description: description:
@ -56,42 +56,42 @@ packages:
name: build_resolvers name: build_resolvers
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.2.0+2" version: "0.2.2+3"
build_runner: build_runner:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: build_runner name: build_runner
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.8.10" version: "0.10.2"
build_runner_core: build_runner_core:
dependency: transitive dependency: transitive
description: description:
name: build_runner_core name: build_runner_core
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.0" version: "0.3.1+5"
built_collection: built_collection:
dependency: "direct main" dependency: "direct main"
description: description:
name: built_collection name: built_collection
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.1.3" version: "4.0.0"
built_value: built_value:
dependency: "direct main" dependency: "direct main"
description: description:
name: built_value name: built_value
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.5.5" version: "6.1.2"
built_value_generator: built_value_generator:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: built_value_generator name: built_value_generator
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.5.5" version: "6.1.2"
charcode: charcode:
dependency: transitive dependency: transitive
description: description:
@ -112,14 +112,14 @@ packages:
name: code_builder name: code_builder
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.1.2" version: "3.1.3"
collection: collection:
dependency: transitive dependency: transitive
description: description:
name: collection name: collection
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.14.6" version: "1.14.11"
convert: convert:
dependency: transitive dependency: transitive
description: description:
@ -140,7 +140,7 @@ packages:
name: csslib name: csslib
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.14.4+1" version: "0.14.5"
dart_style: dart_style:
dependency: transitive dependency: transitive
description: description:
@ -154,7 +154,7 @@ packages:
name: file name: file
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.0.1" version: "5.0.6"
fixnum: fixnum:
dependency: transitive dependency: transitive
description: description:
@ -190,7 +190,7 @@ packages:
name: flutter_slidable name: flutter_slidable
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.5" version: "0.4.6"
flutter_test: flutter_test:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -202,7 +202,7 @@ packages:
name: font_awesome_flutter name: font_awesome_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "6.0.0" version: "8.0.1"
front_end: front_end:
dependency: transitive dependency: transitive
description: description:
@ -210,13 +210,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.4" version: "0.1.4"
func:
dependency: transitive
description:
name: func
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
glob: glob:
dependency: transitive dependency: transitive
description: description:
@ -237,7 +230,7 @@ packages:
name: html name: html
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.13.3+2" version: "0.13.3+3"
http: http:
dependency: "direct main" dependency: "direct main"
description: description:
@ -314,21 +307,21 @@ packages:
name: matcher name: matcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.2+1" version: "0.12.3+1"
memoize: memoize:
dependency: "direct main" dependency: "direct main"
description: description:
name: memoize name: memoize
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.4.0" version: "2.0.0"
meta: meta:
dependency: transitive dependency: transitive
description: description:
name: meta name: meta
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.5" version: "1.1.6"
mime: mime:
dependency: transitive dependency: transitive
description: description:
@ -378,6 +371,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.1" version: "0.4.1"
pedantic:
dependency: transitive
description:
name: pedantic
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
plugin: plugin:
dependency: transitive dependency: transitive
description: description:
@ -480,7 +480,7 @@ packages:
name: source_gen name: source_gen
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.8.3+1" version: "0.9.1"
source_map_stack_trace: source_map_stack_trace:
dependency: transitive dependency: transitive
description: description:
@ -529,7 +529,7 @@ packages:
name: string_scanner name: string_scanner
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.3" version: "1.0.4"
term_glyph: term_glyph:
dependency: transitive dependency: transitive
description: description:
@ -543,14 +543,14 @@ packages:
name: test name: test
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.41" version: "1.3.0"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
name: typed_data name: typed_data
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.5" version: "1.1.6"
url_launcher: url_launcher:
dependency: "direct main" dependency: "direct main"
description: description:
@ -601,5 +601,5 @@ packages:
source: hosted source: hosted
version: "2.1.15" version: "2.1.15"
sdks: sdks:
dart: ">=2.0.0-dev.65 <=2.0.0-dev.69.5.flutter-eab492385c" dart: ">=2.0.0 <3.0.0"
flutter: ">=0.1.4 <2.0.0" flutter: ">=0.1.4 <2.0.0"

View File

@ -10,33 +10,33 @@ dependencies:
sdk: flutter sdk: flutter
flutter_localizations: flutter_localizations:
sdk: flutter sdk: flutter
flutter_redux: ^0.5.0 flutter_redux: ^0.5.2
redux_logging: ^0.3.0 redux_logging: ^0.3.0
http: ^0.11.3+16 http: ^0.11.3+17
path_provider: ^0.4.0 path_provider: ^0.4.1
shared_preferences: ^0.4.1 shared_preferences: ^0.4.2
font_awesome_flutter: ^6.0.0 font_awesome_flutter: ^8.0.1
built_value: ^5.4.5 built_value: ^6.1.2
built_collection: ^3.1.1 built_collection: ^4.0.0
memoize: ^1.4.0 memoize: ^2.0.0
url_launcher: ^3.0.2 url_launcher: ^3.0.3
#cached_network_image: ^0.4.1 #cached_network_image: ^0.4.1
share: ^0.5.2 share: ^0.5.3
intl: ^0.15.6 intl: ^0.15.7
#flutter_pdf_viewer: ^0.0.2 #flutter_pdf_viewer: ^0.0.2
#flutter_html_view: ^0.5.2 #flutter_html_view: ^0.5.2
#flutter_html: ^0.5.3 #flutter_html: ^0.5.3
#google_sign_in: ^3.0.4 #google_sign_in: ^3.0.4
#firebase_auth: ^0.5.19 #firebase_auth: ^0.5.19
flutter_slidable: ^0.4.5 flutter_slidable: ^0.4.6
dev_dependencies: dev_dependencies:
flutter_driver: flutter_driver:
sdk: flutter sdk: flutter
#flutter_test: #flutter_test:
# sdk: flutter # sdk: flutter
build_runner: ^0.8.9 build_runner: ^0.10.2
built_value_generator: ^5.4.5 built_value_generator: ^6.1.2
# For information on the generic Dart part of this file, see the # For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec # following page: https://www.dartlang.org/tools/pub/pubspec