fix: Update flutter_input_library version

This commit is contained in:
Jacques 2024-02-06 13:24:17 +01:00
parent 4f5bd1c22c
commit e275231832
4 changed files with 12 additions and 8 deletions

View file

@ -112,3 +112,6 @@
## 6.2.1 - January 12th 2024 ## 6.2.1 - January 12th 2024
- Pass on the `initialValue` property to FlutterFormMultiLine - Pass on the `initialValue` property to FlutterFormMultiLine
## 6.2.2 - February 6th 2024
- Updated the `flutter_input_library` from 2.6.0 to 3.0.0

View file

@ -68,16 +68,16 @@ packages:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "6.2.0" version: "6.2.1"
flutter_input_library: flutter_input_library:
dependency: transitive dependency: transitive
description: description:
path: "." path: "."
ref: "2.6.0" ref: "3.0.0"
resolved-ref: "6ae18d09bb06098bd2789a77190f2326c260ee98" resolved-ref: "7024fb7e404fbeae0331bfe8f7c115283d0951ce"
url: "https://github.com/Iconica-Development/flutter_input_library" url: "https://github.com/Iconica-Development/flutter_input_library"
source: git source: git
version: "2.6.0" version: "3.0.0"
flutter_lints: flutter_lints:
dependency: "direct dev" dependency: "direct dev"
description: description:

View file

@ -27,12 +27,13 @@ class FlutterFormInputSwitch extends FlutterFormInputWidget<bool> {
super.registerController(context); super.registerController(context);
return input.FlutterFormInputSwitch( return input.FlutterFormInputBool(
focusNode: focusNode, focusNode: focusNode,
onSaved: (value) => controller.onSaved(value), onSaved: (value) => controller.onSaved(value),
onChanged: controller.onChanged, onChanged: controller.onChanged,
validator: (value) => controller.onValidate(value, _), validator: (value) => controller.onValidate(value, _),
initialValue: controller.value ?? false, initialValue: controller.value ?? false,
widgetType: input.BoolWidgetType.switchWidget,
); );
} }
} }

View file

@ -1,6 +1,6 @@
name: flutter_form_wizard name: flutter_form_wizard
description: A new Flutter package project. description: A new Flutter package project.
version: 6.2.1 version: 6.2.2
homepage: https://github.com/Iconica-Development/flutter_form_wizard homepage: https://github.com/Iconica-Development/flutter_form_wizard
publish_to: none publish_to: none
@ -18,7 +18,7 @@ dependencies:
flutter_input_library: flutter_input_library:
git: git:
url: https://github.com/Iconica-Development/flutter_input_library url: https://github.com/Iconica-Development/flutter_input_library
ref: 2.6.0 ref: 3.0.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: