myoro_flutter_library
library
Classes
-
MyoroAccordionConfiguration<T>
-
Base accordion configuration.
-
MyoroAccordionController<T>
-
Base accordion controller.
-
MyoroAccordionState<T>
-
State of MyoroAccordionViewModel.
-
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(...);
}
}
-
MyoroAppBarThemeExtension
-
ThemeExtension for MyoroAppBar.
-
MyoroAppConfiguration
-
Configuration of MyoroApp.
-
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.
-
MyoroBarGraphConfiguration
-
Configuration of MyoroBarGraph.
-
MyoroBarGraphGroup
-
Group of bars in a MyoroBarGraph.
-
MyoroBarGraphThemeExtension
-
ThemeExtension of MyoroBarGraph.
-
MyoroBarGraphViewModel
-
Controller of MyoroBarGraph.
-
MyoroBasicDivider
-
A simple divider.
-
MyoroBasicDividerThemeExtension
-
ThemeExtension for MyoroBasicDivider.
-
MyoroButton
-
Generic button of MFL.
-
MyoroButtonConfiguration
-
Configuration model of MyoroButton.
-
MyoroButtonPrimaryVariantThemeExtension
-
Primary button variant.
-
MyoroButtonSecondaryVariantThemeExtension
-
Secondary button variant.
-
MyoroButtonState
-
State of
MyoroButtonController
.
-
MyoroButtonThemeExtension
-
ThemeExtension of MyoroButton.
-
MyoroButtonVariantThemeExtension<T extends MyoroButtonVariantThemeExtension<T>>
-
Abstract ThemeExtension representing a variant of MyoroButtonThemeExtension.
-
MyoroButtonViewModel
-
View model of MyoroButton.
-
MyoroCard
-
Base card.
-
MyoroCardThemeExtension
-
ThemeExtension of MyoroCard.
-
MyoroCarousel
-
Slider carousel.
-
MyoroCarouselConfiguration
-
Configuration of MyoroCarousel.
-
MyoroCarouselThemeExtension
-
ThemeExtension of MyoroCarousel.
-
MyoroCheckbox
-
A checkbox that can have a label on the right side of it.
-
MyoroCheckboxConfiguration
-
Configuration of MyoroCheckbox.
-
MyoroCheckboxState
-
State of MyoroCheckboxViewModel.
-
MyoroCheckboxThemeExtension
-
ThemeExtension for MyoroCheckbox
-
MyoroCheckboxViewModel
-
Controller of MyoroCheckbox.
-
MyoroCircularLoader
-
A simple circular loading widget.
-
MyoroCircularLoaderThemeExtension
-
ThemeExtension for MyoroCircularLoader.
-
MyoroColors
-
Colors of MFL's design system.
-
MyoroDatePickerInput
-
Date picker input (click date, no typy typy).
-
MyoroDatePickerInputConfiguration
-
Configuration of MyoroDatePickerInput.
-
MyoroDatePickerInputState
-
State of MyoroDatePickerInputViewModel.
-
MyoroDatePickerInputViewModel
-
View model of MyoroDatePickerInput.
-
MyoroDebounceController
-
Debounce controller.
-
MyoroDialogModal
-
A simple yes/no dialog modal.
-
MyoroDialogModalConfiguration<T>
-
Configuration of MyoroDialogModal.
-
MyoroDialogModalThemeExtension
-
ThemeExtension for MyoroDialogModal.
-
MyoroDividerThemeExtension<T extends MyoroDividerThemeExtension<T>>
-
Abstract ThemeExtension class for dividers.
-
MyoroDrawer
-
Base drawer.
-
MyoroDrawerConfiguration
-
Configuration of MyoroDrawer.
-
MyoroDrawerController
-
ValueNotifier for the drawer of a MyoroScreen.
-
MyoroDrawerThemeExtension
-
ThemeExtension for MyoroDrawer.
-
MyoroDropdownConfiguration<T, C extends MyoroMenuConfiguration<T>>
-
Abstract model that encapsulates options for
MyoroDropdown
.
-
MyoroDropdownController<T, VIEW_MODEL extends MyoroDropdownViewModel<T, MyoroDropdownConfiguration<T, MyoroMenuConfiguration<T>>, MyoroMenuConfiguration<T>, MyoroMenuController<T, MyoroMenuViewModel<T, MyoroMenuConfiguration<T>>>>>
-
Controller of a dropdown.
-
MyoroDropdownState<T, CONFIGURATION extends MyoroDropdownConfiguration<T, MyoroMenuConfiguration<T>>, MENU_CONTROLLER extends MyoroMenuController<T, MyoroMenuViewModel<T, MyoroMenuConfiguration<T>>>>
-
State class of MyoroDropdownViewModel.
-
MyoroDropdownThemeExtension
-
ThemeExtension of
MyoroDropdown
.
-
MyoroDropdownViewModel<T, CONFIGURATION extends MyoroDropdownConfiguration<T, MENU_CONFIGURATION>, MENU_CONFIGURATION extends MyoroMenuConfiguration<T>, MENU_CONTROLLER extends MyoroMenuController<T, MyoroMenuViewModel<T, MENU_CONFIGURATION>>>
-
Shared implementation that both MyoroSingleDropdown and MyoroMultiDropdown share.
-
MyoroFeedback
-
An a generic feedback Widget.
-
MyoroFeedbackConfiguration
-
Configuration model of MyoroFeedback.
-
MyoroFeedbackThemeExtension
-
ThemeExtension of MyoroFeedback.
-
MyoroFilePicker
-
File picker of MFL.
-
MyoroFilePickerConfiguration
-
Configuration model of MyoroFilePicker.
-
MyoroFilePickerPlatformFile
-
Wrapper model of
PlatformFile
so that the MFL user
doesn't need to download file_picker in their project.
-
MyoroFilePickerState
-
State of MyoroFilePickerViewModel.
-
MyoroFilePickerThemeExtension
-
ThemeExtension of MyoroFilePicker.
-
MyoroFilePickerViewModel
-
View model of MyoroFilePicker.
-
MyoroForm<T>
-
Base form widget. Should always be used for any type of form content.
-
MyoroFormConfiguration<T>
-
Configuration of MyoroForm.
-
MyoroFormNotifier<T>
-
Notifier of MyoroForm.
-
MyoroGroupCheckbox
-
A group of MyoroCheckboxs.
-
MyoroGroupCheckboxConfiguration
-
Configuration of MyoroGroupCheckbox.
-
MyoroGroupCheckboxNotifier
-
Controller of MyoroGroupCheckbox.
-
MyoroGroupCheckboxThemeExtension
-
ThemeExtension for MyoroGroupCheckbox.
-
MyoroGroupRadio
-
A group of MyoroRadios.
-
MyoroGroupRadioConfiguration
-
Configuration of MyoroGroupRadio.
-
MyoroGroupRadioController
-
ValueNotifier for MyoroGroupRadio.
-
MyoroGroupRadioThemeExtension
-
ThemeExtension for MyoroGroupRadio.
-
MyoroIconConfiguration
-
Generic icon configuration.
-
MyoroIconTextButton
-
Button that holds an icon and/or text.
-
MyoroIconTextButtonConfiguration
-
Configuration model of MyoroIconTextButton.
-
MyoroIconTextButtonThemeExtension
-
ThemeExtension of MyoroIconTextButton.
-
MyoroImagePicker
-
Image picker of MFL.
-
MyoroImagePickerConfiguration
-
Configuration model of MyoroImagePicker.
-
MyoroImagePickerState
-
State of MyoroImagePickerViewModel.
-
MyoroImagePickerThemeExtension
-
ThemeExtension of MyoroImagePicker.
-
MyoroImagePickerViewModel
-
View model of MyoroImagePicker.
-
MyoroInput
-
Generic input _
-
MyoroInputConfiguration
-
Model to load all of the configurable arguments of MyoroInput.
-
MyoroInputFormatter
-
Abstract class of a formatter of MyoroInput.
-
MyoroInputState
-
State of
MyoroInputController
.
-
MyoroInputThemeExtension
-
ThemeExtension for MyoroInput.
-
MyoroInputViewModel
-
View model of MyoroInput.
-
MyoroLayoutBuilder
-
Widget used as an improved LayoutBuilder.
-
MyoroLocalDatabase
-
Singleton that creates an offline SQLite database
for storing things such as shared preferences.
-
Abstract configuration model of a menu.
-
Abstract controller of a menu.
-
A model that loads an item in
MyoroMenu
, but also can
be seen as a general model to load items into a menu.
-
State of
MyoroMenuNotifier
.
-
ThemeExtension for
MyoroMenu
.
-
View model of
MyoroMenu
.
-
MyoroModal
-
Modal of MFL. Every modal should be implementing MyoroModal like so.
-
MyoroModalConfiguration<T>
-
Model to store the configuration members of MyoroModal that
may be altered within other modals to not repeat the members.
-
MyoroModalThemeExtension
-
ThemeExtension for MyoroModal.
-
MyoroMultiAccordion<T>
-
Multi accordion of MFL.
-
MyoroMultiAccordionConfiguration<T>
-
MyoroMultiAccordion configuration.
-
MyoroMultiAccordionController<T>
-
Controller of MyoroMultiAccordion.
-
MyoroMultiDropdown<T>
-
Multi item dropdown.
-
MyoroMultiDropdownConfiguration<T>
-
Configuration model of MyoroMultiDropdown.
-
MyoroMultiDropdownController<T>
-
MyoroMultiDropdown implementation of MyoroDropdownController.
-
MyoroMultiDropdownViewModel<T>
-
MyoroMultiDropdown controller implementation if MyoroDropdownViewModel.
-
Multi selectable menu.
-
Configuration of a MyoroMultiMenu.
-
Controller of MyoroMultiMenu.
-
View model of MyoroMultiMenu.
-
MyoroMultiThemeExtensionWrapper
-
Widget that adds multiple ThemeExtensions to the scope of child.
-
MyoroNumberInputFormatter
-
TextInputFormatter to only accept numbers (integer/double) and only allow a range of numbers.
-
MyoroOverlayPortalController
-
Listenable OverlayPortalController used in dropdown logic.
-
MyoroPieGraph
-
A pie (or donut if specified) chart.
-
MyoroPieGraphConfiguration
-
Configuration of MyoroPieGraph.
-
MyoroPieGraphItem
-
Item/section in a MyoroPieGraph.
-
MyoroPieGraphThemeExtension
-
ThemeExtension of MyoroPieGraph.
-
MyoroPieGraphViewModel
-
View model of MyoroPieGraph.
-
MyoroPieGraphViewModelState
-
State of
MyoroPieGraphController
.
-
MyoroPlatformHelper
-
Used for any platform-specific operations.
-
MyoroRadio
-
Single radio(box) Widget.
-
MyoroRadioConfiguration
-
Configuration of MyoroRadio.
-
MyoroRadioController
-
ValueNotifier to manage the value of a MyoroRadio.
-
MyoroRadioThemeExtension
-
ThemeExtension for MyoroRadio.
-
MyoroRangeSlider
-
Range/double-thumb slider of MFL.
-
MyoroRangeSliderConfiguration
-
Configuration model of MyoroRangeSlider.
-
MyoroRequest<T>
-
Model representing a state where data being fetched via FutureOr function.
-
MyoroRequestNotifier<T>
-
ValueNotifier that executes a FutureOr function to retrieve data.
-
MyoroResizeDivider
-
A divider with a click/tap + drag resize functionality.
-
MyoroResizeDividerThemeExtension
-
ThemeExtension of MyoroResizeDivider.
-
MyoroScreen
-
Root widget of any screen widget.
-
MyoroScreenConfiguration
-
Configuration of MyoroScreen.
-
MyoroSearchInput<T>
-
Search input. Shows a dropdown after making a search request.
-
MyoroSearchInputConfiguration<T>
-
Configuration of MyoroSearchInput.
-
MyoroSearchInputThemeExtension
-
ThemeExtension for MyoroSearchInput.
-
MyoroSearchInputViewModel<T>
-
Notifier of MyoroSearchInput.
-
MyoroSingleAccordion<T>
-
Accordion of MFL.
-
MyoroSingleAccordionConfiguration<T>
-
MyoroSingleAccordion configuration.
-
MyoroSingleAccordionController<T>
-
Controller of MyoroSingleAccordion.
-
MyoroSingleDropdown<T>
-
Single item dropdown.
-
MyoroSingleDropdownConfiguration<T>
-
Configuration model of MyoroSingleDropdown.
-
MyoroSingleDropdownController<T>
-
MyoroSingleDropdown implementation of MyoroDropdownController.
-
MyoroSingleDropdownViewModel<T>
-
MyoroSingleDropdown controller implementation if MyoroDropdownViewModel.
-
Single selectable menu.
-
Configuration of a MyoroSingleMenu.
-
Controller of MyoroSingleMenu.
-
View model of MyoroSingleMenu.
-
MyoroSingleThemeExtensionWrapper
-
Widget that adds a ThemeExtension to the scope of child.
-
MyoroSlider
-
Single-thumb slider of MFL.
-
MyoroSliderBaseConfiguration
-
Abstract configuration model for a slider.
-
MyoroSliderConfiguration
-
Configuration of MyoroSlider.
-
MyoroSliderThemeExtension
-
ThemeExtension of MyoroSlider.
-
MyoroSnackBar
-
A snack bar Widget.
-
MyoroSnackBarConfiguration
-
Configuration model of MyoroSnackBar.
-
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.
-
MyoroSnackBarThemeExtension
-
ThemeExtension for MyoroSnackBar.
-
MyoroTable<T>
-
Table of MFL.
-
MyoroTableColumn
-
Model of a column of a MyoroTable.
-
MyoroTableColumnWidthConfiguration
-
Width configuration of a MyoroTable.
-
MyoroTableConfiguration<T>
-
Configuration model of MyoroTable.
-
MyoroTableController<T>
-
Controller of MyoroTable.
-
MyoroTableRow<T>
-
Non-title row of a MyoroTable.
-
MyoroTableState<T>
-
State of MyoroTableViewModel.
-
MyoroTableThemeExtension
-
ThemeExtension of MyoroTable.
-
MyoroTableViewModel<T>
-
View model of MyoroTable.
-
MyoroTabView
-
Tab view of MFL.
-
MyoroTabViewConfiguration
-
Configuration model of MyoroTabView.
-
MyoroTabViewController
-
Controller of a MyoroTabView.
-
MyoroTabViewState
-
State of MyoroTabViewViewModel.
-
MyoroTabViewTab
-
Model of a single tab apart of a MyoroTabView.
-
MyoroTabViewThemeExtension
-
ThemeExtension of MyoroTabView.
-
MyoroTabViewViewModel
-
View model of MyoroTabView.
-
MyoroTextConfiguration
-
Generic text configuration.
-
MyoroThrottleController
-
Class to throttle a function
-
MyoroTimePickerInput
-
Date picker input (click date, no typy typy).
-
MyoroTimePickerInputConfiguration
-
Configuration of MyoroTimePickerInput.
-
MyoroTimePickerInputState
-
State of MyoroTimePickerInputViewModel.
-
MyoroTimePickerInputViewModel
-
View model of MyoroTimePickerInput.
-
MyoroTooltip
-
Simple tooltip.
-
MyoroTooltipConfiguration
-
Configuration model of MyoroTooltip.
-
MyoroTooltipThemeExtension
-
ThemeExtension for MyoroTooltip.
-
MyoroTypography
-
Class created solely to encapsulate every TextStyle available in MFL.
-
MyoroTypographyStyle
-
Style of MyoroTypography.
-
MyoroWidgetTester
-
Widget that must be created when creating new widget tests.
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(TapDownDetails details)
-
Function executed when the MyoroButton is tapped.
-
MyoroButtonOnTapUp
= void Function(TapUpDetails details)
-
Function executed when the MyoroButton is released being tapped.
-
MyoroCheckboxOnChanged
= void Function(bool value)
-
Function that is executed when the checkbox is changed.
-
MyoroDropdownSelectedItemBuilder<T>
= String Function(T item)
-
Builder of the String displayed when a
T
item is selected.
-
MyoroFilePickerOnChanged
= void Function(MyoroFilePickerPlatformFile? selectedFile)
-
Callback executed when the selected file changed.
-
MyoroFormBuilder<T>
= Widget Function(MyoroRequest<T> request, MyoroFormNotifier<T> controller)
-
Builder of the content within the form.
-
MyoroFormOnError
= void Function(String errorMessage)
-
Function that is executed when the form process is completed unsuccessfully.
-
MyoroFormOnSuccess<T>
= void Function(T? result)
-
Function that is executed when the form process is completed successfully.
-
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.
-
MyoroMenuItem builder from a generic object.
-
Request that executes when the bottom of the menu is reached.
-
Request that returns the
MyoroPagination
of the MyoroMenu
.
-
Returns a List of
T
of the filtered items given the query.
-
MyoroModalOnClosed<T>
= void Function(T? result)
-
Callback executed once the modal is closed.
-
MyoroMultiDropdownCheckboxOnChanged<T>
= void Function(bool enabled, Set<T> selectedItems)
-
Function executed when the enabled/disabled checkbox is pressed.
-
MyoroMultiDropdownOnChanged<T>
= void Function(Set<T> selectedItems)
-
Function executed when the selected item changes.
-
Callback executed when a MyoroMultiMenu's selected items are changed.
-
MyoroRadioOnChanged
= void Function(bool enabled)
-
Function executed when the MyoroRadio is clicked.
-
MyoroRequestNotifierRequest<T>
= FutureOr<T?> Function()
-
Function that requests the data to be retrieved.
-
MyoroResizeDividerDragCallback
= void Function(DragUpdateDetails details)
-
Function executed when the divider resize is activated.
-
MyoroSearchInputRequest<T>
= FutureOr<Set<T>> Function(String text)
-
Request to be executed when the input is triggered;
-
MyoroSingleDropdownCheckboxOnChanged<T>
= void Function(bool enabled, T? selectedItem)
-
Function executed when the enabled/disabled checkbox is pressed.
-
MyoroSingleDropdownOnChanged<T>
= void Function(T? selectedItem)
-
Function executed when the selected item changes.
-
Callback executed when a MyoroSingleMenu's selected item is changed.
-
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.