json_to_form_lib library
Classes
- DataClass
- DefaultTheme
- Default chat theme which extends JsonFormTheme
- DropDownParserCreator
- DropDownParserModel
- DropDownWidget
- This is the stateful widget that the main application instantiates.
- EditTextParserCreator
- EditTextValue
- EditTextValueModel
- EmptyCreator
- EmptyItemModel
- Header
- HeaderModel
- HeaderParserCreator
- InheritedJsonFormTheme
-
Used to make provided
ChatTheme
class available through the whole package - ItemModel
- JsonFormTheme
- Base chat theme containing all required properties to make a theme. Extend this class if you want to create a custom theme.
- JsonFormWithTheme
- JsonFormWithThemeBuilder
- JsonFormWithThemeState
- LineWrapper
- NameWidgetDescription
-
ParserCreator<
M extends ItemModel> - StaticTextModel
- StaticTextParserCreator
- StaticTextValue
- Toggle
- ToggleModel
- ToggleParserCreator
- UpdateStreamWidget
Enums
Constants
- backgroundColor → const Color
- dark → const Color
- Dark
- emptyItemModelType → const String
- error → const Color
- Error
- inactiveToggleActiveBgColor → const Color
- inactiveToggleBgColor → const Color
- inactiveToggleTextColor → const Color
- neutral0 → const Color
- N0
- neutral2 → const Color
- N2
- neutral7 → const Color
- N7
- neutral7WithOpacity → const Color
- N7 with opacity
- primary → const Color
- Primary
- secondary → const Color
- Secondary
- secondaryDark → const Color
- Secondary dark
Typedefs
- DateBuilderMethod = Widget Function(int date, String id)
-
OnValueChanged
= Future<
bool> Function(String id, dynamic value) - SaveBarBuilderMethod = Widget Function({required Function onClose, required Function onSave})