-
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
- adds
extends Object
to<T>
ofFastSegmentedControl
according to latest Cupertino changes
- 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
- 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
- upgrades to Flutter
3.22.0
- replaces deprecated
MaterialStateProperty<T>
type withWidgetStateProperty<T>
- adds
avatarBoxConstraints
toFastChoiceChip
- adds
cursorErrorColor
andonTapAlwaysCalled
properties toFastTextField
- 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
- 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
- upgrades to Flutter
3.16.3
- upgrades to intl
0.19.0.
- adds internal
Validators
refactoring - adds documentation
- 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
- 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
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
- 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.
- upgrades to Flutter
3.7.0
- minimum Dart SDK now is
2.19.0
- removes
toolbarOptions
property fromFastTextField
- adds
contextMenuBuilder
property toFastTextField
- upgrades
intl
to0.18.0
FastChipsInput
now supports removal of single chips via backspace according to Material Design spec- adds
chipIndex
parameter toFastChipsInputChipBuilder
- adds compatibility for Flutter
3.3.5
- adds
mouseCursor
,onFieldSubmitted
,onEditingComplete
andonTap
toFastTextField
- adds compatibility for Flutter
3.3.0
- adds
reorderable
property toFastFormArray
- renames
FastInputChips
toFastChipsInput
- removes
reorderableFormArrayBuilder
- resets
FastFormArray
properly
- adds new
FastFormArray
widget (see example for usage and implementingFastFormArray
items)
- adds missing properties to
FastFormField
widgets - uses
defaultTargetPlatform
instead ofTheme.of(context).platform
- improves typing
- 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
onChanged
now works on anyFastFormField
- 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
- fixes bug in
FastInputChips
wrap run extent calculation
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
- renames
id
property ofFastFormField
toname
- improves
FastInputChips
- adds Dart
2.15
tear-offs
- introduces
FastInputChips
- introduces typed validators
- prefixes typedefs with
Fast
- improves typing of option form fields
- removes
builders
config fromFormScope
- introduces
FastAutocomplete<T>
widget - introduces
FastChoiceChips
widget
- internal
FastFormFieldState<T>
refactoring
- migration to Flutter
2.5
- removes
mask_text_input_formatter
dependency
- resets Flutter SDK version to 2.0.0
- migration to Flutter 2.0.1
- adaptive form controls
- migration to null safety
- rewrite of
FastFormState
- pre-release
- beta release
- initial release