Skip to content

Commit

Permalink
Merge pull request #1445 from flutter-form-builder-ecosystem/upgrade-…
Browse files Browse the repository at this point in the history
…flutter-3.27

upgrade-flutter-3.27
  • Loading branch information
deandreamatias authored Dec 18, 2024
2 parents 11a0eef + a7d1b0b commit 5176c06
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 26 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,10 @@ jobs:
with:
distribution: 'zulu'
java-version: '11'

- name: Get Flutter version by FVM
uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
with:
path: ".fvmrc"

- name: Flutter action
uses: subosito/flutter-action@v2
- name: Setup Flutter
uses: kuhnroyal/flutter-fvm-config-action/setup@v3
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
architecture: x64
cache: true

path: '.fvmrc'
- name: Install dependencies
run: flutter pub get
- name: Format code
Expand Down
8 changes: 4 additions & 4 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
url: "https://pub.dev"
source: hosted
version: "10.0.8"
version: "10.0.7"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
url: "https://pub.dev"
source: hosted
version: "3.0.9"
version: "3.0.8"
leak_tracker_testing:
dependency: transitive
description:
Expand Down
3 changes: 0 additions & 3 deletions lib/src/fields/form_builder_date_time_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ class _FormBuilderDateTimePickerState extends FormBuilderFieldDecorationState<
case InputType.date:
return DateFormat.yMd(languageCode);
case InputType.both:
default:
return DateFormat.yMd(languageCode).add_Hms();
}
}
Expand All @@ -309,8 +308,6 @@ class _FormBuilderDateTimePickerState extends FormBuilderFieldDecorationState<
newValue = combine(date, time);
}
break;
default:
throw 'Unexpected input type ${widget.inputType}';
}
if (!mounted) return null;
final finalValue = newValue ?? currentValue;
Expand Down
1 change: 0 additions & 1 deletion lib/src/widgets/grouped_radio.dart
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ class _GroupedRadioState<T> extends State<GroupedRadio<T?>> {
child: Row(children: widgetList),
);
case OptionsOrientation.wrap:
default:
return SingleChildScrollView(
child: Wrap(
spacing: widget.wrapSpacing,
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
url: "https://pub.dev"
source: hosted
version: "10.0.8"
version: "10.0.7"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
url: "https://pub.dev"
source: hosted
version: "3.0.9"
version: "3.0.8"
leak_tracker_testing:
dependency: transitive
description:
Expand Down
2 changes: 2 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ environment:
dependencies:
flutter:
sdk: flutter
# This version would be max, the same version used on flutter_localizations
# https://github.com/flutter/flutter/blob/17025dd88227cd9532c33fa78f5250d548d87e9a/packages/flutter_localizations/pubspec.yaml#L14
intl: ">=0.19.0 <0.20.0"

dev_dependencies:
Expand Down

0 comments on commit 5176c06

Please sign in to comment.