widget library

Classes

MyoroAccordionState<T>
State of MyoroAccordionViewModel.
MyoroAccordionStyle
Style model of accordions.
MyoroAccordionThemeExtension
ThemeExtension of MyoroAccordion.
MyoroAccordionViewModel<T>
Base accordion view model.
MyoroApp
Root widget of your App widget in main.dart.
MyoroAppBar
class FooAppBar extends StatelessWidget implements PreferredSizeWidget { const FooAppBar({super.key}); Size get preferredSize => const Size.fromHeight(kToolbarHeight); @override Widget build(context) { return MyoroAppBar(...); } }
MyoroAppBarStyle
Style model of MyoroAppBar.
MyoroAppBarThemeExtension
ThemeExtension for MyoroAppBar.
MyoroBarGraph
A bar graph.
MyoroBarGraphBar
Bar of a MyoroBarGraphGroup.
MyoroBarGraphBarSection
For a MyoroBarGraphBar with a non-empty MyoroBarGraphBar.barSections, MyoroBarGraphBarSection will occupy a specified piece of a MyoroBarGraph.
MyoroBarGraphGroup
Group of bars in a MyoroBarGraph.
MyoroBarGraphStyle
Style model of MyoroBarGraph.
MyoroBarGraphThemeExtension
ThemeExtension of MyoroBarGraph.
MyoroBasicDivider
A simple divider.
MyoroBasicDividerStyle
Style model of MyoroBasicDivider.
MyoroBasicDividerThemeExtension
ThemeExtension for MyoroBasicDivider.
MyoroButton
Generic button of MFL.
MyoroButtonButtonVariant
MyoroButton variation of MyoroButtonVariant.
MyoroButtonIconTextButtonVariant
MyoroIconTextButton variation of MyoroButtonVariant.
MyoroButtonState
State of MyoroButtonController.
MyoroButtonStyle
Style model of MyoroButton.
MyoroButtonThemeExtension
ThemeExtension of MyoroButton.
MyoroButtonVariant
Model to build a menu item.
MyoroButtonViewModel
View model of MyoroButton.
MyoroCard
Base card.
MyoroCardStyle
Style model of MyoroCard.
MyoroCardThemeExtension
ThemeExtension of MyoroCard.
MyoroCarousel
Slider carousel.
MyoroCarouselStyle
Style model of MyoroCarousel.
MyoroCarouselThemeExtension
ThemeExtension of MyoroCarousel.
MyoroCheckbox
A checkbox that can have a label on the right side of it.
MyoroCheckboxFilterButton<T>
Checkbox variant of a filter button.
MyoroCheckboxFilterButtonState<T>
State of MyoroCheckboxFilterButton.
MyoroCheckboxState
State of MyoroCheckboxViewModel.
MyoroCheckboxStyle
Style model of MyoroCheckbox.
MyoroCheckboxThemeExtension
ThemeExtension for MyoroCheckbox
MyoroCheckboxViewModel
Controller of MyoroCheckbox.
MyoroCircularLoader
A simple circular loading widget.
MyoroCircularLoaderStyle
Style model of MyoroCircularLoader.
MyoroCircularLoaderThemeExtension
ThemeExtension for MyoroCircularLoader.
MyoroCityDropdown
City dropdown.
MyoroCityDropdownState
State of MyoroCityDropdownViewModel.
MyoroCityDropdownViewModel
View model of MyoroCityDropdown.
MyoroCountryDropdown
Country dropdown.
MyoroCountryRegionCityDropdown
Country, region, and city dropdown.
MyoroCountryRegionCityDropdownState
State of MyoroCountryRegionCityDropdownViewModel.
MyoroCountryRegionCityDropdownStyle
Style of MyoroCountryRegionCityDropdown.
MyoroCountryRegionCityDropdownThemeExtension
ThemeExtension of MyoroCountryRegionCityDropdown.
MyoroCountryRegionCityDropdownViewModel
View model of MyoroCountryRegionCityDropdown.
MyoroCurrencyInput
Currency MyoroInput.
MyoroCurrencyInputState
State of MyoroCurrencyInputViewModel.
MyoroCurrencyInputStyle
Style model of MyoroCurrencyInput.
MyoroCurrencyInputThemeExtension
ThemeExtension of MyoroCurrencyInput.
MyoroCurrencyInputViewModel
View model of MyoroCurrencyInput.
MyoroDatePickerInput
Date picker input (click date, no typy typy).
MyoroDatePickerInputState
State of MyoroDatePickerInputViewModel.
MyoroDatePickerInputViewModel
View model of MyoroDatePickerInput.
MyoroDecorationThemeExtension
Shared decoration ThemeExtension.
MyoroDialogModal<T>
A simple yes/no dialog modal.
MyoroDialogModalStyle
Style model of MyoroDialogModal.
MyoroDialogModalThemeExtension
ThemeExtension for MyoroDialogModal.
MyoroDrawer
Base drawer.
MyoroDrawerController
ValueNotifier for the drawer of a MyoroScreen.
MyoroDrawerStyle
Style model of MyoroDrawer.
MyoroDrawerThemeExtension
ThemeExtension for MyoroDrawer.
MyoroDropdown<T>
Generic dropdown.
MyoroDropdownState<T>
State of MyoroDropdownViewModel.
MyoroDropdownStyle
Style of MyoroDropdown.
MyoroDropdownThemeExtension
ThemeExtension of MyoroDropdown.
MyoroDropdownViewModel<T>
View model of MyoroDropdown.
MyoroEmptyFeedback
Empty feedback variant of MyoroFeedback.
MyoroErrorFeedback
Error feedback variant of MyoroFeedback.
MyoroFeedback
An a generic feedback Widget.
MyoroFeedbackActionButtonConfiguration
Configuration model of MyoroFeedbackConfiguration.
MyoroFeedbackStyle
Style model of MyoroFeedback.
MyoroFeedbackThemeExtension
ThemeExtension of MyoroFeedback.
MyoroField
Generic field Widget of MFL.
MyoroFieldState
State of MyoroFieldViewModel.
MyoroFieldStyle
Style model of MyoroField.
MyoroFieldThemeExtension
ThemeExtension of MyoroField.
MyoroFieldViewModel
View model of MyoroField.
MyoroFilePicker
File picker of MFL.
MyoroFilePickerPlatformFile
Wrapper model of PlatformFile so that the MFL user doesn't need to download file_picker in their project.
MyoroFilePickerState
State of MyoroFilePickerViewModel.
MyoroFilePickerStyle
Style model of MyoroFilePicker.
MyoroFilePickerThemeExtension
ThemeExtension of MyoroFilePicker.
MyoroFilePickerViewModel
View model of MyoroFilePicker.
MyoroFilterButtonState<T>
State of MyoroFilterButtonViewModel.
MyoroFilterButtonStyle
Style model of a filter button.
MyoroFilterButtonThemeExtension
ThemeExtension of MyoroFilterButton.
MyoroFilterButtonViewModel<T>
View model of a filter button.
MyoroFilterPanel
Filter panel of MFL.
MyoroFilterPanelStyle
Style model of MyoroFilterPanel.
MyoroFilterPanelThemeExtension
Theme extension of MyoroFilterPanel.
MyoroForm<T>
Base form widget. Should always be used for any type of form content.
MyoroFormController<T>
Controller of MyoroForm.
MyoroGroupCheckbox
A group of MyoroCheckboxs.
MyoroGroupCheckboxController
Controller of MyoroGroupCheckbox.
MyoroGroupCheckboxStyle
Style model of MyoroGroupCheckbox.
MyoroGroupCheckboxThemeExtension
ThemeExtension for MyoroGroupCheckbox.
MyoroGroupRadio
A group of MyoroRadios.
MyoroGroupRadioController
ValueNotifier for MyoroGroupRadio.
MyoroGroupRadioStyle
Style model of MyoroGroupRadio.
MyoroGroupRadioThemeExtension
ThemeExtension for MyoroGroupRadio.
MyoroIcon
Icon Widget of MFL.
MyoroIconStyle
Generic icon style.
MyoroIconTextButton
Button that holds an icon and/or text.
MyoroIconTextButtonStyle
Style model of MyoroIconTextButton.
MyoroIconTextButtonThemeExtension
ThemeExtension of MyoroIconTextButton.
MyoroIconThemeExtension
ThemeExtension of MyoroIcon.
MyoroImage
Image Widget to automatically resolve image file types.
MyoroImagePicker
Image picker of MFL.
MyoroImagePickerState
State of MyoroImagePickerViewModel.
MyoroImagePickerStyle
Style model of MyoroImagePicker.
MyoroImagePickerThemeExtension
ThemeExtension of MyoroImagePicker.
MyoroImagePickerViewModel
View model of MyoroImagePicker.
MyoroIndexedStack
Indexed stack of MFL.
MyoroIndexedStackStyle
Style model of MyoroIndexedStack.
MyoroIndexedStackThemeExtension
ThemeExtension of MyoroIndexedStack.
MyoroInput
Generic input.
MyoroInputFormatter
Abstract class of a formatter of MyoroInput.
MyoroInputState
State of MyoroInputViewModel.
MyoroInputStyle
Style model of MyoroInput.
MyoroInputThemeExtension
ThemeExtension for MyoroInput.
MyoroInputViewModel
View model of MyoroInput.
MyoroLayoutBuilder
Widget used as an improved LayoutBuilder.
MyoroListScrollable
ListView widget of MFL.
MyoroListScrollableState
State of MyoroListScrollable.
MyoroListScrollableStyle
Style of MyoroListScrollable.
MyoroListScrollableThemeExtension
ThemeExtension of MyoroListScrollable.
MyoroMenu<T>
Menu Widget.
MyoroMenuButtonItem
MyoroButton variation of MyoroMenuItem.
MyoroMenuCheckboxItem
MyoroRadio variant of MyoroMenuItem.
MyoroMenuIconTextButtonItem
MyoroIconTextButton variation of MyoroMenuItem.
MyoroMenuItem
Model to build a menu item.
MyoroMenuRadioItem
MyoroRadio variant of MyoroMenuItem.
MyoroMenuState<T>
State of MyoroMenuViewModel.
MyoroMenuStyle
Style model of MyoroMenu.
MyoroMenuThemeExtension
ThemeExtension for MyoroMenu.
MyoroMenuViewModel<T>
View model of MyoroMenu.
MyoroModal
Modal of MFL. Every modal should be implementing MyoroModal like so.
MyoroModalStyle
Style model of MyoroModal.
MyoroModalThemeExtension
ThemeExtension for MyoroModal.
MyoroMultiAccordion<T>
Multi accordion of MFL.
MyoroMultiAccordionState<T>
State of MyoroMultiAccordionViewModel.
MyoroMultiSelectionDropdown<T>
Multi selection dropdown.
MyoroMultiSelectionDropdownState<T>
State of MyoroMultiSelectionDropdownViewModel.
MyoroMultiSelectionDropdownViewModel<T>
Multi selection implementation of MyoroMultiSelectionDropdown.
MyoroNumberInput
MyoroInput number variant.
MyoroPieGraph
A pie (or donut if specified) chart.
MyoroPieGraphItem
Item/section in a MyoroPieGraph.
MyoroPieGraphStyle
Style model of MyoroPieGraph.
MyoroPieGraphThemeExtension
ThemeExtension of MyoroPieGraph.
MyoroRadio
Single radio(box) Widget.
MyoroRadioFilterButton<T>
Radio variant of a filter button.
MyoroRadioFilterButtonState<T>
State of MyoroRadioFilterButton.
MyoroRadioStyle
Style model of MyoroRadio.
MyoroRadioThemeExtension
ThemeExtension for MyoroRadio.
MyoroRangeSlider
Range/double-thumb slider of MFL.
MyoroRegionDropdown
Region dropdown.
MyoroRegionDropdownState
State of MyoroRegionDropdownViewModel.
MyoroRegionDropdownViewModel
View model of MyoroRegionDropdown.
MyoroRequestWidget<T>
Widget to reduce boilerplate when handling statuses when using MyoroRequests or MyoroRequestControllers.
MyoroRequestWidgetStyle
Style model of MyoroRequestWidget.
MyoroRequestWidgetThemeExtension
ThemeExtension of MyoroRequestWidget.
MyoroResizeDivider
A divider with a click/tap + drag resize functionality.
MyoroResizeDividerStyle
Style model of MyoroResizeDivider.
MyoroResizeDividerThemeExtension
ThemeExtension of MyoroResizeDivider.
MyoroScreen
Root widget of any screen widget.
MyoroScrollableState
State of MyoroScrollableViewModel.
MyoroScrollableStyle
Base style of a scrollable.
MyoroScrollableThemeExtension
ThemeExtension of a scrollable.
MyoroScrollableViewModel
View model of MyoroScrollable.
MyoroSearchBarInput
Basic search bar input.
MyoroSearchBarInputState
State of MyoroSearchBarInputViewModel.
MyoroSearchBarInputStyle
Style model of MyoroSearchBarInput.
MyoroSearchBarInputThemeExtension
ThemeExtension of MyoroSearchBarInput.
MyoroSearchBarInputViewModel
View model of MyoroSearchBarInput.
MyoroSearchDropdown<T>
Search dropdown.
MyoroSearchDropdownState<T>
State of MyoroSearchDropdownViewModel.
MyoroSearchDropdownStyle
Style model of MyoroSearchDropdown.
MyoroSearchDropdownThemeExtension
ThemeExtension for MyoroSearchDropdown.
MyoroSearchDropdownViewModel<T>
View model of MyoroSearchDropdown.
MyoroSelectionDropdownState<T>
State of MyoroSelectionDropdownViewModel.
MyoroSelectionDropdownViewModel<T, S extends MyoroSelectionDropdownState<T>>
View model of a selection dropdown.
MyoroSingleAccordion<T>
Single accordion of MFL.
MyoroSingleAccordionState<T>
State of MyoroSingleAccordionViewModel.
MyoroSingleChildScrollable
SingleChildScrollView widget.
MyoroSingleChildScrollableState
State of MyoroSingleChildScrollable.
MyoroSingleSelectionDropdown<T>
Single selection dropdown.
MyoroSingleSelectionDropdownState<T>
Single selection implementation of MyoroSelectionDropdownViewModel.
MyoroSingleSelectionDropdownViewModel<T>
Single selection implementation of MyoroSingleSelectionDropdown.
MyoroSlider
Single-thumb slider of MFL.
MyoroSliderStyle
Style model of MyoroSlider.
MyoroSliderThemeExtension
ThemeExtension of MyoroSlider.
MyoroSnackBar
A snack bar Widget.
MyoroSnackBarContainer
Base snack bar class extending SnackBar that serves as a container for the MyoroSnackBar that will be shown within the MyoroSnackBarContainer.
MyoroSnackBarContainerThemeExtension
ThemeExtension for MyoroSnackBarContainer.
MyoroSnackBarStyle
Style model of MyoroSnackBar.
MyoroSnackBarThemeExtension
ThemeExtension for MyoroSnackBar.
MyoroSuccessFeedback
Success feedback variant of MyoroFeedback.
MyoroTable<T>
Table of MFL.
MyoroTableColumn
Model of a column of a MyoroTable.
MyoroTableColumnWidthConfiguration
Width configuration of a MyoroTable.
MyoroTableController<T>
Controller of MyoroTable.
MyoroTableRow<T>
Non-title row of a MyoroTable.
MyoroTableState<T>
State of MyoroTableViewModel.
MyoroTableStyle
Style model of MyoroTable.
MyoroTableThemeExtension
ThemeExtension of MyoroTable.
MyoroTableViewModel<T>
View model of MyoroTable.
MyoroTabView
Tab view of MFL.
MyoroTabViewController
Controller of a MyoroTabView.
MyoroTabViewState
State of MyoroTabViewViewModel.
MyoroTabViewStyle
Style model of MyoroTabView.
MyoroTabViewTab
Model of a single tab apart of a MyoroTabView.
MyoroTabViewThemeExtension
ThemeExtension of MyoroTabView.
MyoroTabViewViewModel
View model of MyoroTabView.
MyoroTag
Tag Widget of MFL.
MyoroTagStyle
Style model of MyoroTag.
MyoroTagThemeExtension
ThemeExtension of MyoroTag.
MyoroText
Text Widget of MFL.
MyoroTextStyle
Generic text style.
MyoroTextThemeExtension
ThemeExtension of MyoroText.
MyoroTimePickerInput
Time picker input (click time, no typy typy).
MyoroTimePickerInputState
State of MyoroTimePickerInputViewModel.
MyoroTimePickerInputViewModel
View model of MyoroTimePickerInput.
MyoroTooltip
Simple tooltip.
MyoroTooltipStyle
Style model of MyoroTooltip.
MyoroTooltipThemeExtension
ThemeExtension for MyoroTooltip.
MyoroWidgetTester
Widget that must be created when creating new widget tests.

Enums

MyoroDropdownTypeEnum
Enum encapsulating every type of dropdown type that can be used in MyoroDropdown.
MyoroFilePickerFileTypeEnum
to not have to download that package within the project
MyoroImageTypeEnum
Enum to encapsulate the different image types of MyoroImage.
MyoroInputStyleEnum
Enum with the different styles of inputs provided by MyoroInput.
MyoroPieGraphEnum
Enum to distinguish if a MyoroPieGraph is a pie or donut.
MyoroSearchDropdownDropdownTypeEnum
Enum encapsulating every type of dropdown type that can be used in MyoroSearchDropdown.
MyoroSnackBarTypeEnum
Enum for the types of dialog messages available.
MyoroTableColumnWidthConfigurationEnum
Enum of MyoroTableColumnWidthConfiguration.

Extensions

MyoroButtonStyleExtension on T
Extension on MyoroButtonStyle.

Typedefs

MyoroAccordionBuilder<T> = Widget Function(T item, bool isSelected)
Builder of the accordion Widgets.
MyoroAppBuilder = Widget Function(BuildContext context, Widget? child)
MaterialApp.builder
MyoroAppColorSchemeBuilder = ColorScheme Function(ColorScheme myoroColorScheme)
Builder to create a custom ColorScheme instead of using createMyoroColorScheme.
MyoroAppTextThemeBuilder = TextTheme Function(TextTheme myoroTextTheme)
Builder to create a custom TextTheme instead of using createMyoroColorScheme.
MyoroAppThemeExtensionsBuilder = List<ThemeExtension<ThemeExtension>> Function(bool isDarkMode, ColorScheme colorScheme, TextTheme textTheme)
To be able to grab the ColorScheme & TextTheme to build your ThemeExtensions correctly.
MyoroButtonBackgroundColorBuilder = Color Function(MyoroTapStatusEnum tapStatusEnum)
Builder of MyoroButton's background color.
MyoroButtonBorderBuilder = Border? Function(MyoroTapStatusEnum tapStatusEnum)
Builder of the MyoroButton's border.
MyoroButtonBuilder = Widget Function(BuildContext context, MyoroTapStatusEnum tapStatusEnum)
Widget builder of the MyoroButton.
MyoroButtonOnTapDown = void Function(BuildContext context, TapDownDetails details)
Function executed when the MyoroButton is tapped.
MyoroButtonOnTapUp = void Function(BuildContext context, TapUpDetails details)
Function executed when the MyoroButton is released being tapped.
MyoroCheckboxDisabledOnTapUp = VoidCallback
Function that is executed when the checkbox is tapped up and is disabled.
MyoroCheckboxFilterButtonItemBuilder<T> = MyoroMenuCheckboxItem Function(int index, T value)
Item builder for MyoroCheckboxFilterButton.
MyoroCheckboxFilterButtonOnChanged<T> = ValueChanged<Set<T>>
On changed on MyoroCheckboxFilterButton.
MyoroCheckboxOnChanged = void Function(bool value)
Function that is executed when the checkbox is changed.
MyoroCountryRegionCityDropdownOnChanged = void Function(MyoroCountryEnum? country, MyoroRegion? region, MyoroCity? city)
Callback for MyoroCountryRegionCityDropdown.onChanged.
MyoroCurrencyInputOnChanged = void Function(double value)
On changed callback.
MyoroCurrencyInputOnFieldSubmitted = void Function(double value)
On field submitted callback.
MyoroDialogModalBuilder<T> = Widget Function(BuildContext context, MyoroRequest<T> request)
Widget builder.
MyoroFilePickerOnChanged = void Function(MyoroFilePickerPlatformFile? selectedFile)
Callback executed when the selected file changed.
MyoroFilterButtonItemLabelBuilder<T> = String Function(T value)
Item label builder for filter buttons.
MyoroFormBuilder<T> = Widget Function(MyoroRequest<T> request, MyoroFormController<T> controller)
Builder of the content within the form.
MyoroFormRequest<T> = FutureOr<T?> Function()
Request that will be executed after the form validation process is successful.
MyoroFormValidation = String Function()
Validation function that is executed before MyoroFormRequest.
MyoroGroupCheckboxItems = Map<String, bool>
Checkboxes of the group. Provided as a map for speed and ease of navigation.
MyoroGroupCheckboxOnChanged = void Function(String key, MyoroGroupCheckboxItems items)
Function executed when any of the checkbox's values are changed.
MyoroGroupRadioItems = Map<String, bool>
Radios of the group. Provided as a map for speed and ease of navigation.
MyoroGroupRadioOnChanged = void Function(String keyChanged, MyoroGroupRadioItems items)
Function executed when any of the radio's values are changed.
MyoroIconTextButtonContentColorBuilder = Color Function(MyoroTapStatusEnum tapStatusEnum)
Color builder of the icon and text.
MyoroImagePickerOnChanged = void Function(String? selectedImage)
Callback executed when an image is selected or unselected.
MyoroInputCheckboxOnChanged = void Function(bool enabled, String text)
Function executed when the checkbox next to the input is changed.
MyoroInputOnChanged = void Function(String text)
Function executed when the input changed.
MyoroInputOnFieldSubmitted = void Function(String text)
Function executed when the enter key is pressed.
MyoroInputSearchRequest = FutureOr<List<String>> Function(String text)
Function used for making the MyoroInput a search box. Executes everytime the input is changed.
MyoroInputValidation = String? Function(String text)
Function executed when a Form is triggered.
MyoroLayoutBuilderChildCallback = Widget Function(BuildContext context, BoxConstraints constraints)
Callback to builder to build the MyoroLayoutBuilder.
MyoroLayoutBuilderConstraintsCallback = void Function(BoxConstraints constraints)
Callback to pass the current BoxConstraints of the MyoroLayoutBuilder.
MyoroMenuItemBuilder<T> = MyoroMenuItem Function(int index, T item)
MyoroMenuItem builder from a generic object.
MyoroRadioFilterButtonItemBuilder<T> = MyoroMenuRadioItem Function(int index, T value)
Item builder for MyoroRadioFilterButton.
MyoroRadioFilterButtonOnChanged<T> = ValueChanged<T?>
On changed on MyoroRadioFilterButton.
MyoroRadioOnChanged = void Function(bool enabled)
Function executed when the MyoroRadio is clicked.
MyoroResizeDividerDragCallback = void Function(DragUpdateDetails details)
Function executed when the divider resize is activated.
MyoroSearchBarInputOnChanged = ValueChanged<String>
MyoroSearchBarInput.onChanged.
MyoroSearchDropdownOnChanged<T> = void Function(T? item)
Function executed when the selected item is changed.
MyoroSearchDropdownOnFieldSubmitted<T> = void Function(T? item)
Function executed when the enter key is pressed.
MyoroSearchDropdownRequest<T> = FutureOr<Set<T>> Function(String query)
Function to retrieve the items.
MyoroSearchDropdownSelectedItemBuilder<T> = String Function(T item)
String builder of the item that is clicked in the dropdown.
MyoroSearchDropdownValidation<T> = String? Function(T? item)
Validation.
MyoroSelectionDropdownSelectedItemBuilder<T> = String Function(T item)
Selected item builder.
MyoroSliderOnChanged<T> = void Function(T value)
Function executed when the value of the slider changes.
MyoroTableConfigurationRequest<T> = FutureOr<Set<T>> Function()
Request of the items of the MyoroTable.
MyoroTableConfigurationRowBuilder<T> = MyoroTableRow<T> Function(T item)
Builder of the cells of a row.
MyoroTableRowTapEvent<T> = void Function(T item)
Tap event of a MyoroTableRow.
MyoroTimePickerInputOnChanged = void Function(TimeOfDay? time)
On changed function.
MyoroTimePickerInputValidation = String? Function(TimeOfDay? time)
Validation function.