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

@ -111,4 +111,7 @@
- Pass on the `textCapitalization` property to FlutterFormPlainText and FlutterFormMultiLine
## 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: ".."
relative: true
source: path
version: "6.2.0"
version: "6.2.1"
flutter_input_library:
dependency: transitive
description:
path: "."
ref: "2.6.0"
resolved-ref: "6ae18d09bb06098bd2789a77190f2326c260ee98"
ref: "3.0.0"
resolved-ref: "7024fb7e404fbeae0331bfe8f7c115283d0951ce"
url: "https://github.com/Iconica-Development/flutter_input_library"
source: git
version: "2.6.0"
version: "3.0.0"
flutter_lints:
dependency: "direct dev"
description:

View file

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

View file

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