flutter_fast_forms 18.0.0 flutter_fast_forms: ^18.0.0 copied to clipboard
Flutter Fast Forms is the only Dart package you need to build Flutter forms fast.
[18.0.0] - 12/18/2024 #
-
upgrades to Flutter
3.27.0
-
adds
checkboxScaleFactor
andinternalAddSemanticForOnTap
properties toFastCheckbox
-
adds
internalAddSemanticForOnTap
andtrackOutlineWidth
properties toFastSwitch
-
adds
itemExtent
andselectionOverlayBuilder
properties toFastDatePicker
-
adds
selectableDayPredicate
property toFastDatePicker
-
adds
optionsViewOpenDirection
property toFastChipsInput
-
adds
autofocus
,dense
,enableFeedback
,internalAddSemanticForOnTap
andonFocusChange
properties toFastRadioGroup
-
adds
direction
andexpandedInsets
properties toFastSegmentedButton
-
adds
disabledChildren
andproportionalWidth
properties toFastSegmentedControl
-
adds
forceErrorText
andignorePointers
properties toFastTextField
-
deprecates
inactiveColor
onFastCheckbox
-
deprecates
activeColor
andtrackColor
properties onFastSwitch
-
Breaking Changes
-
Due to Flutter API changes
mouseCursor
property ofFastSwitch
is now of typeWidgetStateMouseCursor
[17.1.1] - 09/14/2024 #
- adds
extends Object
to<T>
ofFastSegmentedControl
according to latest Cupertino changes
[17.1.0] - 08/18/2024 #
- upgrades to Flutter
3.24.0
- adds
chipAnimationStyle
property toFastChoiceChip
according toChipAttributes
as of3.24.0
- deprecates
onPopInvoked
function onFastForm
according toForm
as of3.24.0
[17.0.0] - 06/03/2024 #
- fixes several
touched
state issues - deprecates
values
function ofFastFormState
- adds
scrollToField
function toFastFormState
- adds
onTouched
callback toFastFormField
- adds
wasTouched
function toFastFormFieldState
- adds
FastFormStatus
andFastFormFieldStatus
record typedefs - updates native Android example project
Breaking Changes
- removes deprecated
errorBuilder
andhelperBuilder
fromFastCheckbox
,FastSwitch
,FastDatePicker
,FastSegmentendControl
andFastSlider
- sets
errorText
ofInputDecoration
tonull
when a field is disabled - changes signature of
FastFormChanged
function typedef tovoid Function(FastFormStatus status)
onChanged
callback function ofFastForm
now passes a fine-grainedFastFormStatus
[16.0.0] - 05/15/2024 #
- upgrades to Flutter
3.22.0
- replaces deprecated
MaterialStateProperty<T>
type withWidgetStateProperty<T>
- adds
avatarBoxConstraints
toFastChoiceChip
- adds
cursorErrorColor
andonTapAlwaysCalled
properties toFastTextField
[15.0.0] - 01/08/2024 #
- upgrades to Flutter
3.16.5
- adds new feature Conditional Form Fields
- adds
conditions
property toFastFormField
- adds
FastCondition
,FastConditionList
classes - adds
FastConditionMatch
enum - adds
FastConditionHandler
andFastConditionTest
typedefs - adds
testConditions
function toFastformFieldState
- adds
- adds new
FastSegmentendButton
that wraps MaterialSegmentedButton
- adds
showInputDecoration
property toFastCheckbox
,FastSwitch
,FastCalendar
,FastChoiceChips
,FastRadioGroup
,FastRangeSlider
andFastSlider
- adds
canPop
andonPopInvoked
properties toFastForm
- adds
cupertinoErrorBuilder
,cupertinoHelperBuilder
andcupertinoPrefixBuilder
properties toFastCheckbox
,FastSwitch
,FastDatePicker
,FastSegmentendControl
andFastSlider
- deprecates
errorBuilder
andhelperBuilder
onFastCheckbox
,FastSwitch
,FastDatePicker
,FastSegmentendControl
andFastSlider
- changes value type of
FastChoiceChips
fromList<T>
toSet<T>
- removes
errorBuilder
andhelperBuilder
default functions - adds
cupertinoErrorBuilder
,cupertinoHelperBuilder
andcupertinoPrefixBuilder
default functions - adds generic
FastWidgetBuilder
typedef - replaces
FastCheckboxTitleBuilder
withFastCheckboxWidgetBuilder
typedef - replaces
FastSwitchTitleBuilder
withFastCheckboxWidgetBuilder
typedef - replaces
FastRangeSliderPrefixBuilder
andFastRangeSliderSuffixBuilder
withFastRangeSliderWidgetBuilder
typedef - replaces
FastSliderPrefixBuilder
andFastSliderSuffixBuilder
withFastSliderWidgetBuilder
typedef - adds
FastDatePickerWidgetBuilder
typedef - fixes generic typing in
FastChoiceChips
andFastSegmentedControl
- fixes hard-coded text colors in
checkboxTitleBuilder
andswitchTitleBuilder
[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