flutter_fast_forms 14.1.0 flutter_fast_forms: ^14.1.0 copied to clipboard
Flutter Fast Forms is the only Dart package you'll ever need to build Flutter forms fast.
[14.1.0] - 12/18/2023 #
- upgrades to Flutter
3.16.4
- adds dartdoc comments
- adds Dart Patterns code refactoring
- adds
autovalidateOnTouched
property toFastTextField
- fix:
autovalidateMode
now works onFastTextField
- fix:
optionsBuilder
now works onFastChipsInput
[14.0.0] - 12/12/2023 #
- upgrades to Flutter
3.16.3
- upgrades to intl
0.19.0.
- adds internal
Validators
refactoring - adds documentation
[13.0.0] - 12/02/2023 #
- upgrades to Flutter
3.16.2
- upgrades to Dart
3.2.0
- removes deprecated
text
property fromFastRadioOption<T>
- adds
offLabelColor
andonLabelColor
properties toFastSwitch
- adds
barrierColor
,barrierDismissible
andbarrierLabel
properties toFastDatePicker
,FastDateRangePicker
andFastTimePicker
- adds
optionsViewOpenDirection
property toFastAutocomplete
- adds
checkmarkColor
andshowCheckmark
properties toFastChoiceChip
- adds
showCheckmark
property toFastChoiceChips
- adds
canRequestFocus
,clipBehavior
,contentInsertionConfiguration
,cursorOpacityAnimates
,dragStartBehavior
,onAppPrivateCommand
,scribbleEnabled
,scrollController
,selectionHeightStyle
,selectionWidthStyle
andundoController
properties toFastTextField
[12.0.0] - 08/22/2023 #
- upgrades to Flutter
3.13.0
- upgrades to Dart
3.1.0
- adds
checkboxSemanticLabel
properties toFastCheckbox
- sets
autofocus
,focusNode
andonFocusChange
onCupertinoSwitch
inFastSwitch
, - adds
switchToCalendarEntryModeIcon
andswitchToInputEntryModeIcon
properties toFastDatePicker
andFastDateRangePicker
- adds
color
property toFastChoiceChip
- adds
allowedInteraction
property toFastSlider
[11.1.0] - 06/25/2023 #
text
property onFastRadioOption
is now deprecated- adds
isThreeLine
,secondary
,selected
.subtitle
,title
andvisualDensity
properties toFastRadioOption
- adds
activeColor
,controlAffinity
,fillColor
,hoverColor
,materialTapTargetSize
,mouseCursor
,overlayColor
,selectedTileColor
,shapeBorder
,splashRadius
,tileColor
andtoggleable
properties toFastRadioGroup
- adds
isError
andonFocus
properties toFastCheckbox
- adds
onActiveThumbImageError
,onFocusChange
andonInactiveThumbImageError
properties toFastSwitch
- adds
showDayOfWeek
property toFastDatePicker
- adds
keyboardType
property toFastDateRangePicker
- adds
orientation
property toFastTimePicker
- adds
onChangeEnd
,onChangeStart
andsemanticFormatterCallback
properties toFastRangeSlider
- adds
onChanged
property toFastSlider
- adds
magnifierConfiguration
,onTapOutside
andspellCheckConfiguration
properties toFastTextField
[11.0.0] - 05/16/2023 #
- upgrades to Flutter
3.10.0
- upgrades to Dart
3.0.0
- upgrades sample to Material 3
- adds adaptiveness to
FastCheckbox
viaCupertinoCheckbox
- adds all new styling properties to
FastCheckbox
,FastRangeSlider
,FastSlider
andFastSwitch
- adds
textStyle
property to all date time fields - adds
inputDecorationTheme
property toFastForm
- fixes styling issues when
enabled: false
- fixes incorrect default content padding on iOS
Breaking Changes
- reduces the default
InputDecoration
ofFastFormField<T>
old
InputDecoration(
contentPadding: widget.contentPadding,
errorText: field.errorText,
helperText: widget.helperText,
labelText: widget.labelText,
labelStyle: TextStyle(
color: field.enabled
? theme.textTheme.bodyLarge!.color
: theme.disabledColor,
),
enabled: field.enabled,
disabledBorder: OutlineInputBorder(
borderSide: BorderSide(color: theme.disabledColor, width: 1),
),
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.grey[700]!, width: 1),
),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: theme.primaryColor, width: 2),
),
errorBorder: const OutlineInputBorder(
borderSide: BorderSide(color: Colors.red, width: 2),
),
focusedErrorBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.red[500]!, width: 2),
),
filled: false,
fillColor: Colors.white,
);
new
InputDecoration(
contentPadding: widget.contentPadding ?? const EdgeInsets.fromLTRB(12.0, 8.0, 12.0, 8.0),
enabled: enabled,
errorText: errorText,
helperText: widget.helperText,
labelText: widget.labelText,
);
For any further styling now use inputDecorationTheme
or inputDecorationBuilder
properties
of FastForm
(see example app).
- renames
decorator
property onFastForm
toinputDecorationBuilder
and changes its typedef
old
typedef FastInputDecorator = InputDecoration Function(ThemeData theme, FastFormFieldState field);
new
typedef FastInputDecorationBuilder = InputDecoration Function(FastFormFieldState field);
For retrieving ThemeData
now use Theme.of(context)
within the function body.
[10.0.0] - 01/29/2023 #
- upgrades to Flutter
3.7.0
- minimum Dart SDK now is
2.19.0
- removes
toolbarOptions
property fromFastTextField
- adds
contextMenuBuilder
property toFastTextField
[9.0.1] - 01/24/2023 #
- upgrades
intl
to0.18.0
[9.0.0] - 11/04/2022 #
FastChipsInput
now supports removal of single chips via backspace according to Material Design spec- adds
chipIndex
parameter toFastChipsInputChipBuilder
[8.1.0] - 30/10/2022 #
- adds compatibility for Flutter
3.3.5
- adds
mouseCursor
,onFieldSubmitted
,onEditingComplete
andonTap
toFastTextField
[8.0.0] - 03/09/2022 #
- adds compatibility for Flutter
3.3.0
- adds
reorderable
property toFastFormArray
- renames
FastInputChips
toFastChipsInput
- removes
reorderableFormArrayBuilder
[7.2.1] - 06/12/2022 #
- resets
FastFormArray
properly
[7.2.0] - 06/11/2022 #
- adds new
FastFormArray
widget (see example for usage and implementingFastFormArray
items)
[7.1.0] - 06/04/2022 #
- adds missing properties to
FastFormField
widgets - uses
defaultTargetPlatform
instead ofTheme.of(context).platform
- improves typing
[7.0.0] - 05/13/2022 #
- update to Flutter
3.0.0
and Dart2.17.0
- removes
autofocus
property fromFastFormField
- adds
autofocus
property toFastCheckbox
,FastSwitch
,FastDropdown
,FastChoiceChips
,FastSlider
andFastTextField
- uses Dart
2.17.0
super-initializer parameters now wherever possible
[6.0.0] - 04/24/2022 #
onChanged
now works on anyFastFormField
[5.0.0] - 02/04/2022 #
- widgets now correctly expose
contentPadding
property - renames
label
property ofFastFormField
tolabelText
- renames
title
property ofFastCheckbox
totitleText
- renames
willAddOption
property ofFastAutocomplete
towillDisplayOption
- renames
optionsMatcher
property ofFastInputChips
towillDisplayOption
- renames
updateValues()
method ofFastFormState
toonChanged()
- removes
name
getter fromFastFormField
- moves
static FastFormState? of(BuildContext context)
toFastForm
- adds
form
getter toFastFormFieldState
- simplifies creation of
InputDecoration
viadecoration
getter ofFastFormFieldState
_FastFormScope
now follows internal_FormScope
[4.0.1] - 01/18/2022 #
- fixes bug in
FastInputChips
wrap run extent calculation
[4.0.0] - 01/14/2022 #
FastChoiceChips
now exposes its value asList<String>
FastInputChips
can now scroll horizontally viawrap
property- renames
optionsMatcher
property ofFastAutocomplete
towillAddOption
FastFormFieldState<T>
is nowabstract
and its widget getter@protected
[3.0.0] - 01/03/2022 #
- renames
id
property ofFastFormField
toname
- improves
FastInputChips
- adds Dart
2.15
tear-offs
[2.1.0] - 11/17/2021 #
- introduces
FastInputChips
[2.0.0] - 10/24/2021 #
- introduces typed validators
- prefixes typedefs with
Fast
- improves typing of option form fields
- removes
builders
config fromFormScope
[v1.1.0] - 10/16/2021 #
- introduces
FastAutocomplete<T>
widget - introduces
FastChoiceChips
widget
[v1.0.1] - 10/14/2021 #
- internal
FastFormFieldState<T>
refactoring
[v1.0.0] - 10/13/2021 #
- migration to Flutter
2.5
[v0.9.0] - 03/21/2021 #
- removes
mask_text_input_formatter
dependency
[v0.9.0-nullsafety.2] - 03/06/2021 #
- resets Flutter SDK version to 2.0.0
[v0.9.0-nullsafety.1] - 03/06/2021 #
- migration to Flutter 2.0.1
[v0.8.0-nullsafety.1] - 12/31/2020 #
- adaptive form controls
[v0.7.0-nullsafety.1] - 12/29/2020 #
- migration to null safety
[v0.6.0] - 12/28/2020 #
- rewrite of
FastFormState
[v0.5.0] - 12/27/2020 #
- pre-release
[v0.1.0] - 08/12/2020 #
- beta release
[v0.0.1] - 07/30/2020 #
- initial release