File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ environment:
1818
1919dependencies :
2020 crypto : ^3.0.3
21+ cupertino_icons : ^1.0.2 # An asset repository.
2122 encrypt : ^5.0.3
2223 flutter :
2324 sdk : flutter
@@ -59,7 +60,7 @@ flutter:
5960flutter_launcher_icons :
6061 image_path : " assets/images/app_icon.png"
6162 android : true
62- min_sdk_android : 21
63+ min_sdk_android : 21 # android min sdk min:16, default 21 ios: true
6364 ios : true
6465 remove_alpha_ios : true
6566 background_color_ios : " #ffffff"
Original file line number Diff line number Diff line change 22#
33# Makefile template for Flutter
44#
5- # Copyright 2021 (c) Graham.Williams@togaware.com
5+ # Copyright 2021-2025 (c) Graham.Williams@togaware.com
66#
77# License: Creative Commons Attribution-ShareAlike 4.0 International.
88#
@@ -189,7 +189,7 @@ analyze:
189189
190190.PHONY : depend
191191depend :
192- @echo " Review pubspec.yaml dependencies ."
192+ @echo " Dart: REVIEW DEPENDENCIES ."
193193 -dependency_validator
194194 @echo $(SEPARATOR )
195195
@@ -208,7 +208,8 @@ todo:
208208.PHONY : license
209209license :
210210 @echo " Files without a LICENSE:\n"
211- @-find lib -type f -not -name ' *~' ! -exec grep -qE ' ^(/// .*|/// Copyright|/// Licensed)' {} \; -print | xargs printf " \t%s\n"
211+ @-find lib -type f -not -name ' *~' -not -name ' README*' \
212+ ! -exec grep -qE ' ^(/// .*|/// Copyright|/// Licensed)' {} \; -print | xargs printf " \t%s\n"
212213 @echo $(SEPARATOR )
213214
214215.PHONY : riverpod
@@ -387,13 +388,13 @@ publish:
387388.PHONY : import_order
388389import_order :
389390 @echo " Dart: CHECK IMPORT ORDER"
390- dart run custom_lint
391+ import_order --check
391392 @echo $(SEPARATOR )
392393
393394.PHONY : import_order_fix
394395import_order_fix :
395396 @echo " Dart: FIX IMPORT ORDER"
396- fix_imports --project-name= $( APP ) -r lib
397+ import_order -r lib
397398 @echo $(SEPARATOR )
398399
399400# ## TODO THESE SHOULD BE CHECKED AND CLEANED UP
@@ -413,6 +414,7 @@ loc: lib/*.dart
413414 @cat $(shell find lib -name '* .dart') \
414415 | egrep -v ' ^ */' \
415416 | egrep -v ' ^ *$$' \
417+ | egrep -v ' ^ *[)},]+, *$$' \
416418 | wc -l
417419
418420#
You can’t perform that action at this time.
0 commit comments