reusable_editor 1.0.4
reusable_editor: ^1.0.4 copied to clipboard
A modular form and file editor package for Flutter with support for Form widgets. Includes Cubit-based state management, form field validation, and UI input widgets.
Changelog #
All notable changes to this project will be documented in this file.
1.0.4 (Jul 4, 2025) #
π Updated #
- Updated GitHub Pages-based documentation under the
doc/folder:- Setup widget usage examples files
- Setup package Libraries linking with
API Reference API Referenceβ Full Dart API docs generated by dartdoc
1.0.3 (Jul 3, 2025) #
π Removed #
* `VALIDATOR_USAGE.md` β Guide for using built-in and custom validators.
* Separated in the `i_validator` package for built-in and custom validators.
1.0.2 (Jul 3, 2025) #
π Documentation #
-
Added GitHub Pages-based documentation under the
doc/folder:VALIDATOR_USAGE.mdβ Guide for using built-in and custom validators.
1.0.1 (Jul 3, 2025) #
π Documentation #
-
Added GitHub Pages-based documentation under the
doc/folder:WIDGET_USAGE.mdβ widget usage examplesCUBIT_USAGE.mdβ usage of FieldCubit, ToggleCubit, etc.FIELD_TYPE_USAGE.mdβ usage patterns forFieldCubit<T>with various types- Setup
index.mdas the documentation landing page - Linked documentation from README
1.0.0 (Jul 3, 2025) #
π Added #
-
New Input Widgets using
FieldCubit<T>(renamed to App-prefixed)AppTextFieldβ for text input with validationAppCheckboxβ checkbox input with error textAppDropdown<T>β generic dropdown fieldAppSwitchβ switch toggle inputAppRadioGroup<T>β radio button group inputAppSliderβ numeric slider inputAppRangeSliderβ range slider input with min/maxAppDatePickerβ date picker fieldAppTimePickerβ time picker fieldAppFilePickerβ file picker usingfile_pickerpackage
β Renamed #
selection_cubit.dartβenum_option_cubit.dartselection_state.dartβenum_option_state.dart
π§± Cubits #
ToggleCubitadded for boolean toggle handling usingFieldCubit<bool>FieldCubit<T>added as a generic form state cubit with validation support
π¨ Styles #
- Text field and error styles use centralized
AppFormTextStyles - Input decoration elements follow
InputDecorationStylesfor consistent field UI (e.g., border, padding, label styles)
0.0.6+2 #
- Export Bloc Provider.
- Export GetIt DI.
0.0.6+1 #
- Added DateTimeCubit Bloc Provider.
- Registered DateTimeCubit GetIt DI.
0.0.6 #
- Implemented Bloc Provider.
- Implemented GetIt DI.
- Removed fileRegisterGetItDiRestApiDataSource.
0.0.5 #
- Added fileRegisterGetItDiRestApiDataSource,
0.0.4 #
- Added Register Input Field Get It Di,
0.0.3 #
Updated #
-
Refactored SwitchCubit:
- Now uses a typed SwitchState model instead of a raw bool.
- Introduced debug logging in onChanged and clearSwitch for easier tracing.
- Improved structure following SOLID principles.
-
Added
- clearSwitch() method to SwitchCubit for resetting the switch state to default (true).
0.0.2 #
Added #
-
Support for uploading and deleting files via Firestore or REST API.
-
FileEntityandFileResponseEntitymodels. -
Enum-based dropdown form field (
EnumOptionDropDownMenuFormField). -
Cubits for managing UI state:
DateTimeCubitImageCrudCubitSelectionCubitSwitchCubitTextFieldCubit
-
Utility extensions:
String?.loadAsFile()for converting asset paths toFileString.loadAssetImage()for loading images as bytes
-
Abstract interfaces for file handling and dependency constants.
-
Example usage with a mock implementation of
IFireStorageService.
0.0.1 #
- Initial release of
reusable_editorpackage.