rj_form_engine library
rj_form_engine — A schema-driven form engine for Flutter.
Classes
- DateConfig
- Config for FieldType.date
- DropdownItem
- Represents a single item in a dropdown field.
- DropdownSource
- Defines how a dropdown field loads its items.
- FieldConfig
- FieldDependency
- FieldMeta
- FormController
- The state controller for RjForm.
- FormResult
- The result object passed to RjForm.onSubmit.
- ImageConfig
- Config for FieldType.image
- RjBreakpoints
- Responsive breakpoint thresholds.
- RjForm
- RjFormTheme
- Defines the visual appearance of all fields rendered by RjForm.
- RjResponsive
- Utility for responsive sizing within the form engine.
- RjTimeUtils
- Utility for formatting TimeOfDay values into display strings.
- RjValidators
- A collection of ready-made validators for common form field rules.
- SliderConfig
- Config for FieldType.slider
- SpinnerConfig
- Config for FieldType.spinner
- TextConfig
- Config for FieldType.text / textArea
- TimeConfig
- Config for FieldType.timePicker
Enums
- FieldType
- RjScreenSize
- Screen size category.
Typedefs
- CustomFieldBuilder = Widget Function(BuildContext context, FieldMeta field, dynamic value, void onChanged(dynamic value), String? errorText)
-
DropdownLoader
= Future<
List< Function({String? parentValue})DropdownItem> > -
Signature for async dropdown loaders.
parentValueis the current value of the parent field (for cascading). - FieldValidator = String? Function(dynamic value)