ui_widgets library
Classes
-
AddressInput<
T> -
AddressLabels<
T> -
AddressTypeSelection<
T> -
AddressValue<
T> - AvatarButton
-
AvatarPopupMenu<
T> -
ButtonTool<
T extends Equatable> - CallbackValidator
- ChainedValidator
- CodeInput
- ConfirmPasswordInput
- ConfirmPasswordValidator
-
ContactInput<
T> -
ContactLabels<
T> -
ContactTypeSelection<
T> -
ContactValue<
T> - DialogForm
- DisplayAreaSize
- DisplayAreaSizeProvider
- DividerTool
- DrawRectangle
- DropdownListItem
- Dropdown list item represents a menu item that will be displayed in the dropdown list.
- EditableListInputConfig
- ElevatedIconButton
- EmailAddressInput
- EmailAddressValidator
- FixedListInputConfig
- FolderTab
- FolderTabBar
- A colorful tabbar that displays a horizontal row of tabs where each tab has a color.
- FormDataValue
- FormInputGroup
- FormInputGroup is a widget that renders a group of input fields based on the provided configuration. The layout is responsive and will wrap fields to the next row when the width of the fields exceeds the provided minFieldWrapWidth.
- FormValue
- A form value that can be used in a form to capture the a composite input value.
- FormValues
- GroupBox
- HexColor
-
InputConfig<
T> - InputConfigConverter
- InputControllerState
- InputGroupConfig
- InputIcon
- InputValue
- A form value that captures a single input value
- ListValidator
- MinLengthValidator
- MinLengthValidatorConfig
- MultiFormController
-
MultiFormControllerState<
T extends MultiFormController> -
MultiInput<
T extends FormValue> - NumberValidator
- NumberValidatorConfig
- PasswordInput
- PasswordValidator
- PhoneNumberInput
- RegexValidator
- RegexValidatorConfig
- ScrollViewDivider
- SpacerTool
-
StatusTextTool<
T extends Equatable> - StatusViewBar
- TabbedFolders
- TabItem
- Tab info that hold the title widget and tab color.
-
TextButtonTool<
T> - TextInput
- TextInputConfig
- TextLink
- ThemedCard
-
Tool<
T> - ToolBar
-
ToolBuilder<
T> -
ToolGroup<
T extends Equatable> - ToolIconButton
- ToolsAppBar
- A custom AppBar that allows for the display of tools in the AppBar on the left or right as actions as well as support for a search bar. The AppBar is responsive and the tools and/or search bar will be rendered as a popup menu if the AppBar size cannot accomodate the tools and/or search bar widgets.
- ToolsScaffold
- ToolsViewBar
- ToolWidget
- UIWidgetLocalizations
-
Callers can lookup localized strings with an instance of UIWidgetLocalizations
returned by
UIWidgetLocalizations.of(context)
. - UsernameInput
- ValidationConfigConverter
- Validator
- Abstract class for input validation
- ValidatorConfig
Enums
- ContactInputType
- FloatToolsAlignment
- InputType
- ScrollViewDirection
- ScrollViewDividerPosition
- TabAxisAlignment
- How the tabs should be placed along the main axis in a tabbar.
- ThemedCardType
- ToolsAlignment
- ToolType
- ToolVisibility
- ValidatorType
Properties
-
gbCountries
↔ List<
(String, String, Image?)> -
getter/setter pair
Functions
-
createMarkDownStyleSheet(
BuildContext context, {Color? color, double? fontSize, double? lineHeight}) → MarkdownStyleSheet -
darken(
Color color, [double amount = .1]) → Color -
getTextSize(
String text, {TextStyle? style}) → Size -
isColorDark(
Color color) → bool -
lighten(
Color color, [double amount = .1]) → Color -
lookupUIWidgetLocalizations(
Locale locale) → UIWidgetLocalizations -
showColorPickerDialog(
BuildContext context, {required String title, required Color selectedColor, required void onColorChanged(Color color), String? semanticsLabel}) → void -
splitTextToFitWidth(
String text, {required double maxWidth, double lineSpacing = 8.0, TextStyle? style}) → List< Widget> -
uuid(
) → String
Typedefs
- ActionCallback = void Function(BuildContext context)
- AddInputCallback = void Function()
-
AddressInputCallback<
T> = void Function(AddressValue< T> value) - BuildContainerCallack = Widget Function(Widget child, double width, double height)
-
ContactInputCallback<
T> = void Function(ContactValue< T> value) - FormDataChanged = void Function({required FormDataValue changedValue, required bool isInputGroupValid})
- InputChanged = void Function(String id, bool isValid, String? value)
-
MultiInputBuilder<
T> = Widget Function(BuildContext context, T value, int index, FocusNode focusNode, dynamic focusHandler(bool hasFocus)) - OnOption = void Function(String option, int index)
- RemoveInputCallback = void Function(int index)
-
ValidatedValueChanged<
T> = void Function(T value, bool isValid)