unified_fields 0.1.3
unified_fields: ^0.1.3 copied to clipboard
Standalone unified form fields, pickers, and date/time UI for Flutter apps.
0.1.3 #
- Field states on
UnifiedBaseTextField:loadingshows a suffix spinner (no full-field overlay or muted disabled chrome);interactionBlockedblocks taps/focus without looking disabled (date, async pickers).isDisabled/disabledshow placeholder and value together when both are set. labelInRow: one outer rounded border around label + body with a straight vertical divider (no inner radius on the body side).- Field controllers:
UnifiedPickerFieldController,UnifiedMultiPickerFieldController, async/date/time/duration/number variants, andUnifiedFormControllerfor imperativeopenPicker/requestFocusthat match tapping the bound field when mounted (attachUnifiedFieldHandlesinfield_controller_sync.dart). - Form + binding sync:
UnifiedForm…picker/date/time/async fields listen tobindingsobinding.clear()updates theFormFieldUI;syncFormFieldFromExternalValuehelpers for external writes. - Date field: uses
interactionBlockedinstead ofdisabled: trueso the picker opens without disabled styling. - Async pickers: removed full-field loading overlay; loading uses the base field suffix spinner.
- Dartdoc: documented remaining public controller APIs and
UnifiedDurationPickerSheetfields;public_member_api_docsis clean forlib/.
0.1.2 #
- Hoisted
isRequiredandplaceholderto the root constructor of every field. Decoration values (UnifiedInputDecoration.requiredField/UnifiedInputDecoration.placeholder) are still honored as a fallback for backwards compatibility, but field-level parameters now win. - Added
Form-aware wrappers for the customizable pickers:UnifiedFormCustomizablePickerField,UnifiedFormCustomizableMultiPickerField,UnifiedFormCustomizableAsyncPickerField,UnifiedFormCustomizableAsyncMultiPickerField. - Added a runnable
example/Flutter project demonstrating the showcase page. - Renamed
AppColorstoUnifiedColorsto match the package naming style. - Dartdoc comments on every public member across the package
(palette, decoration, controllers, base text field, sheet helpers,
color tokens, all unified and form-aware fields, plus the vendored
utility extensions). The
public_member_api_docslint is now enforced inanalysis_options.yamlto keep coverage from regressing.
0.1.1 #
- Documentation pass on the public API and minor README polish.
0.1.0 #
- Initial release: unified text / number / picker / async picker / date / time / duration fields,
Gregorian–Jalali calendar sheet, vendored scrollable positioned list, and
Form-aware wrappers.