File tree Expand file tree Collapse file tree 6 files changed +14
-29
lines changed
Expand file tree Collapse file tree 6 files changed +14
-29
lines changed Original file line number Diff line number Diff line change @@ -35,21 +35,10 @@ jobs:
3535 with :
3636 distribution : ' zulu'
3737 java-version : ' 11'
38-
39- - name : Get Flutter version by FVM
40- uses : kuhnroyal/flutter-fvm-config-action@v2
41- id : fvm-config-action
42- with :
43- path : " .fvmrc"
44-
45- - name : Flutter action
46- uses : subosito/flutter-action@v2
38+ - name : Setup Flutter
39+ uses : kuhnroyal/flutter-fvm-config-action/setup@v3
4740 with :
48- flutter-version : ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
49- channel : ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
50- architecture : x64
51- cache : true
52-
41+ path : ' .fvmrc'
5342 - name : Install dependencies
5443 run : flutter pub get
5544 - name : Format code
5948 - name : Run tests
6049 run : flutter test --coverage
6150 - name : Upload coverage to Codecov
62- uses : codecov/codecov-action@v4
63- env :
64- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
51+ uses : codecov/codecov-action@v5
6552 with :
6653 files : coverage/lcov.info
6754 name : flutter_form_builder
Original file line number Diff line number Diff line change @@ -99,18 +99,18 @@ packages:
9999 dependency: transitive
100100 description:
101101 name: leak_tracker
102- sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
102+ sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
103103 url: "https://pub.dev"
104104 source: hosted
105- version: "10.0.8 "
105+ version: "10.0.7 "
106106 leak_tracker_flutter_testing:
107107 dependency: transitive
108108 description:
109109 name: leak_tracker_flutter_testing
110- sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
110+ sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
111111 url: "https://pub.dev"
112112 source: hosted
113- version: "3.0.9 "
113+ version: "3.0.8 "
114114 leak_tracker_testing:
115115 dependency: transitive
116116 description:
Original file line number Diff line number Diff line change @@ -286,7 +286,6 @@ class _FormBuilderDateTimePickerState extends FormBuilderFieldDecorationState<
286286 case InputType .date:
287287 return DateFormat .yMd (languageCode);
288288 case InputType .both:
289- default :
290289 return DateFormat .yMd (languageCode).add_Hms ();
291290 }
292291 }
@@ -311,8 +310,6 @@ class _FormBuilderDateTimePickerState extends FormBuilderFieldDecorationState<
311310 newValue = combine (date, time);
312311 }
313312 break ;
314- default :
315- throw 'Unexpected input type ${widget .inputType }' ;
316313 }
317314 if (! mounted) return null ;
318315 final finalValue = newValue ?? currentValue;
Original file line number Diff line number Diff line change @@ -237,7 +237,6 @@ class _GroupedRadioState<T> extends State<GroupedRadio<T?>> {
237237 child: Row (children: widgetList),
238238 );
239239 case OptionsOrientation .wrap:
240- default :
241240 return SingleChildScrollView (
242241 child: Wrap (
243242 spacing: widget.wrapSpacing,
Original file line number Diff line number Diff line change @@ -79,18 +79,18 @@ packages:
7979 dependency: transitive
8080 description:
8181 name: leak_tracker
82- sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
82+ sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
8383 url: "https://pub.dev"
8484 source: hosted
85- version: "10.0.8 "
85+ version: "10.0.7 "
8686 leak_tracker_flutter_testing:
8787 dependency: transitive
8888 description:
8989 name: leak_tracker_flutter_testing
90- sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
90+ sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
9191 url: "https://pub.dev"
9292 source: hosted
93- version: "3.0.9 "
93+ version: "3.0.8 "
9494 leak_tracker_testing:
9595 dependency: transitive
9696 description:
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ environment:
1717dependencies :
1818 flutter :
1919 sdk : flutter
20+ # This version would be max, the same version used on flutter_localizations
21+ # https://github.com/flutter/flutter/blob/17025dd88227cd9532c33fa78f5250d548d87e9a/packages/flutter_localizations/pubspec.yaml#L14
2022 intl : " >=0.19.0 <0.20.0"
2123
2224dev_dependencies :
You can’t perform that action at this time.
0 commit comments