forui library
A Flutter package for building beautiful user interfaces.
Classes
- FAccordion
- A vertically stacked set of interactive headings, each revealing a section of content.
- FAccordionController
- A controller shows and hides items in an FAccordion.
- FAccordionItem
- An interactive heading that reveals a section of content.
- FAccordionStyle
- The FAccordion's style.
- FAlert
- A visual element displaying status information (info, warning, success, or error).
- FAlertStyle
- A custom FAlert style.
- FAlertStyles
- The alert styles.
- FAnimatedModalBarrier
- A widget that prevents the user from interacting with widgets behind itself, and can be configured with an animated value.
- FAutocomplete
- An autocomplete provides a list of suggestions based on the user's input and shows typeahead text for the first match.
- FAutocompleteContentStyle
- An FAutocomplete's content style.
- FAutocompleteController
- A controller for managing autocomplete functionality in a text field.
- FAutocompleteItem
- A suggestion in a FAutocomplete that can optionally be nested in a FAutocompleteSection.
- FAutocompleteSection
- A section in a FAutocomplete that can contain multiple FAutocompleteItems.
- FAutocompleteSectionStyle
- A FAutocompleteSection's style.
- FAutocompleteStyle
- An FAutocomplete's style.
- FAutoHeightPortalConstraints
- Immutable layout constraints for a portal's RenderBox which height is automatically derived from the child.
- FAutoWidthPortalConstraints
- Immutable layout constraints for a portal's RenderBox which width is automatically derived from the child.
- FAvatar
- An image element with a fallback for representing the user.
- FAvatarStyle
- FAvatar's style.
- FBadge
- A badge. Badges are typically used to draw attention to specific information, such as labels and counts.
- FBadgeContentStyle
- FBadge content's style.
- FBadgeStyle
- A FBadge's style.
- FBadgeStyles
- The FBadgeStyles.
- FBaseAlertStyle
- A FAlert's style.
- FBaseBadgeStyle
- A FBadge's style.
- FBaseButtonStyle
- A FButton's style.
- A bottom navigation bar.
- A FBottomNavigationBar's data.
- A FBottomNavigationBar item.
- FBottomNavigationBarItem's style.
- FBottomNavigationBar's style.
- FBreadcrumb
- A breadcrumb.
- FBreadcrumbItem
- A breadcrumb item.
- FBreadcrumbStyle
- The FBreadcrumb styles.
- FBreakpoints
- The responsive breakpoints based on Tailwind CSS.
- FButton
- A button.
- FButtonContentStyle
- FButton content's style.
- FButtonData
- A button's data.
- FButtonIconContentStyle
- FButton icon content's style.
- FButtonStyle
- A FButton's style.
- FButtonStyles
- FButtonStyle's style.
- FCalendar
- A calendar.
-
FCalendarController<
T> - A controller that controls date selection in a calendar.
- FCalendarDayPickerStyle
- A day picker's style.
- FCalendarEntryStyle
- A calendar entry's style.
- FCalendarHeaderStyle
- The calendar header's style.
- FCalendarStyle
- The calendar's style.
- FCard
- A card.
- FCardContentStyle
- FCard content's style.
- FCardStyle
- FCard's style.
- FChangeNotifier
- A ChangeNotifier that provides additional life-cycle tracking capabilities.
- FCheckbox
- A checkbox control that allows the user to toggle between checked and not checked.
- FCheckboxStyle
- A checkboxes style.
- FCollapsible
- A widget that animates between visible and hidden states.
- FColors
- A set of colors that is part of a FThemeData. It is used to configure the color properties of Forui widgets.
- FContinuousSliderController
- A controller that manages a slider's active track which represents a continuous range/value.
- FDateField
- A date field allows a date to be selected from a calendar, input field, or both.
- FDateFieldCalendarProperties
- A date picker calendar popover's properties.
- FDateFieldController
- The date field's controller.
- FDateFieldStyle
- A date field's style.
- FDefaultLocalizations
- The default localization for when no localization is provided.
- FDialog
- A modal dialog.
- FDialogContentStyle
- FDialog content's style.
-
FDialogRoute<
T> - A route that shows a dialog popup.
- FDialogStyle
- FDialog's style.
- FDiscreteSliderController
- A controller that manages a slider's active track which represents a discrete range/value.
- FDivider
- A visual separator used to create division between content.
- FDividerStyle
- The divider style.
- FDividerStyles
- The FDivider styles.
- FFocusedOutline
- An outline around a focused widget that does not affect its layout.
- FFocusedOutlineStyle
- The FFocusedOutline's style.
- FFormFieldStyle
- A form field state's style.
- FHeader
- A header contains the page's title and actions.
- FHeaderAction
- A FHeader action.
- FHeaderActionStyle
- FHeaderAction's style.
- FHeaderData
- A header's data.
- FHeaderStyle
- A header's style.
- FHeaderStyles
- FHeader's styles.
- FIcons
- The Lucide icons bundled with Forui.
- FInheritedItemData
- An FInheritedItemData is used to provide data about the item's position in the current nesting level, i.e. FTileGroup.
- FItem
- An item that is typically used to group related information together.
- FItemContentStyle
- An FItem content's style.
- FItemData
- The item's data.
- FItemGroup
- An item group that groups multiple FItemMixins together.
- FItemGroupStyle
- An FItemGroup's style.
- FItemGroupStyleData
- An inherited widget that provides the FItemGroupStyle to its descendants.
- FItemStyle
- A FItem's style.
- FLabel
- A component that describes a form field with a label, description, and error message (if any).
- FLabelStyle
- The FLabel's style.
- FLabelStyles
- The FLabel's styles.
- FLerpBorderRadius
-
A BorderRadius that lerps between 0 and a radius when a rectangle is smaller than
radius * 3
. - FLinearProgressStyle
- A linear FProgress's style.
- FLineCalendar
- A line calendar displays dates in a single horizontal, scrollable line.
- FLineCalendarStyle
- FLineCalendar's style.
- FLocalizations
-
Callers can lookup localized strings with an instance of FLocalizations
returned by
FLocalizations.of(context)
. - FModalBarrier
- A widget that prevents the user from interacting with widgets behind itself.
-
FModalSheetRoute<
T> - A route that represents a modal sheet. showFSheet should be preferred in most cases.
-
FMultiSelect<
T> - A multi-select displays a list of options for the user to pick from.
-
FMultiSelectController<
T> - The FMultiSelect's controller.
- FMultiSelectFieldStyle
- A FMultiSelectFieldStyle's style.
- FMultiSelectStyle
- A FMultiSelect's style.
- FMultiSelectTag
- A tag in a FMultiSelect.
- FMultiSelectTagStyle
- A FMultiSelectTag's style.
-
FMultiValueNotifier<
T> - A notifier that manages a set of values.
- FPagination
- A pagination allows the user to select a specific page from a range of pages.
- FPaginationController
- A controller that controls which page is selected.
- FPaginationStyle
- The FPagination styles.
- FPersistentSheetController
- A sheet controller.
- FPicker
- A generic picker that allows an item to be selected. It is composed of one or more FPickerWheels, optionally, with separators between those wheels.
- FPickerController
- A picker's controller.
- FPickerStyle
- FPickerStyle's style.
- FPickerWheel
- A picker wheel that displays a list of items that can be scrolled vertically.
- FPopover
- A popover displays rich content in a portal that is aligned to a child.
- FPopoverController
- A controller that controls whether a FPopover is shown or hidden.
- FPopoverMenu
- A popover menu displays a menu in a portal aligned to a child.
- FPopoverMenuStyle
- A FPopoverMenuStyle's style.
- FPopoverStyle
- A FPopover's style.
- FPortal
- A portal renders a portal widget that "floats" on top of a child widget.
- FPortalConstraints
- Immutable layout constraints for a portal's RenderBox.
- FPortalSpacing
- An interface for computing the spacing between a child and its portal.
- FProgress
- A progress indicator that shows the completion progress of a task.
- FProgressStyles
- The progress styles.
- FRadio
- A radio button that typically allows the user to choose only one of a predefined set of options.
- FRadioStyle
- A FRadio's style.
- FRawItemContentStyle
- An FItem raw content's style.
- FResizable
- A resizable allows its children to be resized along either the horizontal or vertical main axis.
- FResizableController
- A controller that manages the resizing of regions in a FResizable.
- FResizableDividerStyle
- The style of the dividers between FResizableRegions.
- FResizableDividerThumbStyle
- The style of the dividers' thumbs between FResizableRegions.
- FResizableRegion
- A resizable region that can be resized along the parent FResizable's axis. It should always be in a FResizable.
- FResizableRegionData
- A FResizableRegion's data.
- FResizableStyle
- A FResizable's style.
- FScaffold
- A layout structure that contains a header, content, and footer.
- FScaffoldStyle
- The scaffold style.
-
FSelect<
T> - A select displays a list of options for the user to pick from.
- FSelectContentStyle
- An FSelect's contents style.
-
FSelectController<
T> - The FSelect's controller.
-
FSelectGroup<
T> - A set of items that are treated as a single selection.
-
FSelectGroupItemData<
T> - A FSelectGroup's item data. Useful for creating your own FSelectGroupItem.
- FSelectGroupStyle
- FSelectGroup's style.
-
FSelectItem<
T> - A selectable item in a FSelect that can optionally be nested in a FSelectSection.
-
FSelectMenuTile<
T> - A tile that, when triggered, displays a list of options for the user to pick from.
- FSelectMenuTileStyle
- A select menu tile's style.
- FSelectScrollHandleStyle
- A FSelect content scroll handle's style.
- FSelectSearchFieldProperties
- The search field's properties.
- FSelectSearchStyle
- A FSelect's search field style.
-
FSelectSection<
T> - A section in a FSelect that can contain multiple FSelectItems.
- FSelectSectionStyle
- A FSelectSection's style.
- FSelectStyle
- A FSelect's style.
-
FSelectTile<
T> - A tile that represents a selection in a FSelectTileGroup. It should only be used in a FSelectTileGroup.
-
FSelectTileGroup<
T> - A set of tiles that are treated as a single selection.
- FSheets
- Sheets that are displayed above its child. It is part of FScaffold, which should be preferred in most cases.
- FSheetStyle
- A sheet's style.
- FSidebar
- A sidebar widget that provides an opinionated layout on the side of the screen.
- FSidebarData
- A FSidebar's data.
- FSidebarGroup
- A group of FSidebarItems.
- FSidebarGroupData
- A FSidebarGroup's data.
- FSidebarGroupStyle
- The style for a FSidebarGroup.
- FSidebarItem
- A sidebar item.
- FSidebarItemStyle
- The style for a FSidebarItem.
- FSidebarStyle
- A FSidebar's style.
- FSlider
- An input where the user selects a value from within a given range.
- FSliderController
- A controller that manages a slider's active track.
- FSliderMark
- A mark in a FSlider. It is a combination of a tick - a visual indicator along the track, and a label.
- FSliderMarkStyle
- A FSlider mark's style.
- FSliderSelection
- A FSlider's active track/selection.
- FSliderStyle
- A slider's style.
- FSliderStyles
- A slider's styles.
- FSliderThumbStyle
- A slider thumb's style.
- FSliderTooltipsController
- The controller for a slider's registered tooltips.
- FStyle
- A set of miscellaneous properties that is part of a FThemeData.
- FSwitch
- A control that allows the user to toggle between checked and unchecked.
- FSwitchStyle
- FSwitch's style.
- FTabController
- A controller that controls selection in a FTabs.
- FTabEntry
- An object that represents a tab entry in a group of tabs.
- FTabs
- Allows switching between widgets through tabs.
- FTabsStyle
- FTabs's style.
- FTappable
- An area that responds to touch.
- FTappableStyle
- A custom FTappable style.
- FTextField
- A text field.
- FTextFieldStyle
- The text field style.
- FTextFormField
- A text field that is wrapped is a FormField for convenience.
- FTheme
- Applies a theme to descendant widgets.
- FThemeData
- Defines the configuration of the overall visual FTheme for a widget subtree.
- FTile
- A specialized FItem for touch devices.
- FTileGroup
- A tile group that groups multiple FTileMixins together.
- FTileGroupStyle
- A FTileGroup's style.
- FTileGroupStyleData
- An inherited widget that provides the FTileGroupStyle to its descendants.
- FTileStyle
- A FTile's style.
- FTime
- Represents the time of day.
- FTimeField
- A time field allows a time to be selected from a picker or input field.
- FTimeFieldController
- The time field's controller.
- FTimeFieldStyle
- A time field's style.
- FTimePicker
- A time picker that allows a time to be selected.
- FTimePickerController
- A FTimePicker's controller.
- FTimePickerStyle
- The style of a time picker.
- FToast
- A toast.
- FToaster
- An opinionated toast widget.
- FToasterState
- A FToaster's state.
- FToasterStyle
- FToaster's style.
- FToastStyle
- The toast's style.
- FTooltip
- A tooltip displays information related to a widget when focused, hovered over, or long pressed.
- FTooltipController
- A controller that controls whether a FTooltip is shown or hidden.
- FTooltipStyle
- A FTooltip's style.
- FTypeaheadController
- A TextEditingController with typeahead support.
- FTypography
- Definitions for the various typographical styles that are part of a FThemeData.
-
FValueNotifier<
T> - A ValueNotifier that provides additional life-cycle tracking capabilities.
-
FWidgetStateMap<
T> -
A WidgetStateProperty that resolves to a
T
using a WidgetStateMap. - FWidgetStatesDelta
- The delta between two widget states, containing both the previous and current states along with the differences.
Enums
- FCalendarPickerType
- The current picker type.
- FItemDivider
- The divider between items in a group.
- FLayout
- Possible way to layout a sequence of items.
- FPopoverHideRegion
- The regions that can be tapped to hide a popover.
- FResizableDivider
- The appearance of dividers between FResizableRegions.
- FSliderInteraction
- Possible ways for a user to interact with a slider.
- FTabBarIndicatorSize
- Defines how the bounds of the selected tab indicator are computed.
- FToastAlignment
- The toast's alignment.
- FToasterExpandBehavior
- A toaster's expansion behavior.
Mixins
- FAccordionItemMixin
- A marker interface which denotes that mixed-in widgets can be used in a FAccordion.
- FAutocompleteItemMixin
- A marker interface which denotes that mixed-in widgets can be used in a FAutocomplete.
-
FFormFieldProperties<
T> - A form field's properties.
- FItemGroupMixin
- A marker interface which denotes that mixed-in widgets can group items and be used in a FItemGroup.merge.
- FItemMixin
- A marker interface which denotes that mixed-in widgets is an item.
- FPickerWheelMixin
- A marker interface that indicates that a widget is a picker wheel.
-
FSelectGroupItem<
T> - Represents an item in a FSelectGroup.
- FSelectItemMixin
- A marker interface which denotes that mixed-in widgets can be used in a FSelect.
- FTileGroupMixin
- A marker interface which denotes that mixed-in widgets can group tiles and be used in a FTileGroup.merge.
- FTileMixin
- A marker interface which denotes that mixed-in widgets can be used in a FTileGroup.
- FToasterEntry
- An entry in a toaster.
Extensions
- $FAccordionStyleCopyWith on FAccordionStyle
-
Provides a
copyWith
method. - $FAlertStyleCopyWith on FAlertStyle
-
Provides a
copyWith
method. - $FAlertStylesCopyWith on FAlertStyles
-
Provides a
copyWith
method. - $FAutocompleteContentStyleCopyWith on FAutocompleteContentStyle
-
Provides a
copyWith
method. - $FAutocompleteSectionStyleCopyWith on FAutocompleteSectionStyle
-
Provides a
copyWith
method. - $FAutocompleteStyleCopyWith on FAutocompleteStyle
-
Provides a
copyWith
method. - $FAvatarStyleCopyWith on FAvatarStyle
-
Provides a
copyWith
method. - $FBadgeContentStyleCopyWith on FBadgeContentStyle
-
Provides a
copyWith
method. - $FBadgeStyleCopyWith on FBadgeStyle
-
Provides a
copyWith
method. - $FBadgeStylesCopyWith on FBadgeStyles
-
Provides a
copyWith
method. -
Provides a
copyWith
method. -
Provides a
copyWith
method. - $FBreadcrumbStyleCopyWith on FBreadcrumbStyle
-
Provides a
copyWith
method. - $FButtonContentStyleCopyWith on FButtonContentStyle
-
Provides a
copyWith
method. - $FButtonIconContentStyleCopyWith on FButtonIconContentStyle
-
Provides a
copyWith
method. - $FButtonStyleCopyWith on FButtonStyle
-
Provides a
copyWith
method. - $FButtonStylesCopyWith on FButtonStyles
-
Provides a
copyWith
method. - $FCalendarDayPickerStyleCopyWith on FCalendarDayPickerStyle
-
Provides a
copyWith
method. - $FCalendarEntryStyleCopyWith on FCalendarEntryStyle
-
Provides a
copyWith
method. - $FCalendarHeaderStyleCopyWith on FCalendarHeaderStyle
-
Provides a
copyWith
method. - $FCalendarStyleCopyWith on FCalendarStyle
-
Provides a
copyWith
method. - $FCardContentStyleCopyWith on FCardContentStyle
-
Provides a
copyWith
method. - $FCardStyleCopyWith on FCardStyle
-
Provides a
copyWith
method. - $FCheckboxStyleCopyWith on FCheckboxStyle
-
Provides a
copyWith
method. - $FDateFieldStyleCopyWith on FDateFieldStyle
-
Provides a
copyWith
method. - $FDialogContentStyleCopyWith on FDialogContentStyle
-
Provides a
copyWith
method. - $FDialogStyleCopyWith on FDialogStyle
-
Provides a
copyWith
method. - $FDividerStyleCopyWith on FDividerStyle
-
Provides a
copyWith
method. - $FDividerStylesCopyWith on FDividerStyles
-
Provides a
copyWith
method. - $FFocusedOutlineStyleCopyWith on FFocusedOutlineStyle
-
Provides a
copyWith
method. - $FFormFieldStyleCopyWith on FFormFieldStyle
-
Provides a
copyWith
method. - $FHeaderActionStyleCopyWith on FHeaderActionStyle
-
Provides a
copyWith
method. - $FHeaderStyleCopyWith on FHeaderStyle
-
Provides a
copyWith
method. - $FHeaderStylesCopyWith on FHeaderStyles
-
Provides a
copyWith
method. - $FItemContentStyleCopyWith on FItemContentStyle
-
Provides a
copyWith
method. - $FItemGroupStyleCopyWith on FItemGroupStyle
-
Provides a
copyWith
method. - $FItemStyleCopyWith on FItemStyle
-
Provides a
copyWith
method. - $FLabelStyleCopyWith on FLabelStyle
-
Provides a
copyWith
method. - $FLabelStylesCopyWith on FLabelStyles
-
Provides a
copyWith
method. - $FLinearProgressStyleCopyWith on FLinearProgressStyle
-
Provides a
copyWith
method. - $FLineCalendarStyleCopyWith on FLineCalendarStyle
-
Provides a
copyWith
method. - $FMultiSelectFieldStyleCopyWith on FMultiSelectFieldStyle
-
Provides a
copyWith
method. - $FMultiSelectStyleCopyWith on FMultiSelectStyle
-
Provides a
copyWith
method. - $FMultiSelectTagStyleCopyWith on FMultiSelectTagStyle
-
Provides a
copyWith
method. - $FPaginationStyleCopyWith on FPaginationStyle
-
Provides a
copyWith
method. - $FPickerStyleCopyWith on FPickerStyle
-
Provides a
copyWith
method. - $FPopoverMenuStyleCopyWith on FPopoverMenuStyle
-
Provides a
copyWith
method. - $FPopoverStyleCopyWith on FPopoverStyle
-
Provides a
copyWith
method. - $FProgressStylesCopyWith on FProgressStyles
-
Provides a
copyWith
method. - $FRadioStyleCopyWith on FRadioStyle
-
Provides a
copyWith
method. - $FRawItemContentStyleCopyWith on FRawItemContentStyle
-
Provides a
copyWith
method. - $FResizableDividerStyleCopyWith on FResizableDividerStyle
-
Provides a
copyWith
method. - $FResizableDividerThumbStyleCopyWith on FResizableDividerThumbStyle
-
Provides a
copyWith
method. - $FResizableStyleCopyWith on FResizableStyle
-
Provides a
copyWith
method. - $FScaffoldStyleCopyWith on FScaffoldStyle
-
Provides a
copyWith
method. - $FSelectContentStyleCopyWith on FSelectContentStyle
-
Provides a
copyWith
method. - $FSelectGroupStyleCopyWith on FSelectGroupStyle
-
Provides a
copyWith
method. - $FSelectMenuTileStyleCopyWith on FSelectMenuTileStyle
-
Provides a
copyWith
method. - $FSelectScrollHandleStyleCopyWith on FSelectScrollHandleStyle
-
Provides a
copyWith
method. - $FSelectSearchStyleCopyWith on FSelectSearchStyle
-
Provides a
copyWith
method. - $FSelectSectionStyleCopyWith on FSelectSectionStyle
-
Provides a
copyWith
method. - $FSelectStyleCopyWith on FSelectStyle
-
Provides a
copyWith
method. - $FSheetStyleCopyWith on FSheetStyle
-
Provides a
copyWith
method. - $FSidebarGroupStyleCopyWith on FSidebarGroupStyle
-
Provides a
copyWith
method. - $FSidebarItemStyleCopyWith on FSidebarItemStyle
-
Provides a
copyWith
method. - $FSidebarStyleCopyWith on FSidebarStyle
-
Provides a
copyWith
method. - $FSliderMarkStyleCopyWith on FSliderMarkStyle
-
Provides a
copyWith
method. - $FSliderStyleCopyWith on FSliderStyle
-
Provides a
copyWith
method. - $FSliderStylesCopyWith on FSliderStyles
-
Provides a
copyWith
method. - $FSliderThumbStyleCopyWith on FSliderThumbStyle
-
Provides a
copyWith
method. - $FStyleCopyWith on FStyle
-
Provides a
copyWith
method. - $FSwitchStyleCopyWith on FSwitchStyle
-
Provides a
copyWith
method. - $FTabsStyleCopyWith on FTabsStyle
-
Provides a
copyWith
method. - $FTappableStyleCopyWith on FTappableStyle
-
Provides a
copyWith
method. - $FTextFieldStyleCopyWith on FTextFieldStyle
-
Provides a
copyWith
method. - $FTileGroupStyleCopyWith on FTileGroupStyle
-
Provides a
copyWith
method. - $FTileStyleCopyWith on FTileStyle
-
Provides a
copyWith
method. - $FTimeFieldStyleCopyWith on FTimeFieldStyle
-
Provides a
copyWith
method. - $FTimePickerStyleCopyWith on FTimePickerStyle
-
Provides a
copyWith
method. - $FToasterStyleCopyWith on FToasterStyle
-
Provides a
copyWith
method. - $FToastStyleCopyWith on FToastStyle
-
Provides a
copyWith
method. - $FTooltipStyleCopyWith on FTooltipStyle
-
Provides a
copyWith
method. - FDateTimeLocalizations on FLocalizations
- Localizations for date and time formatting.
- FPortalShift on Never
- Provides various portal shifting strategies for when a portal overflows out of the viewport.
- FThemeBuildContext on BuildContext
- Provides functions for accessing the current FThemeData.
- FThemes on Never
- The Forui themes.
- FTouch on Never
- Utilities for retrieving information about the current platform.
Functions
-
lookupFLocalizations(
Locale locale) → FLocalizations -
showFDialog<
T> ({required BuildContext context, required Widget builder(BuildContext, FDialogStyle, Animation< double> ), FDialogStyle style(FDialogStyle)?, String? barrierLabel, bool barrierDismissible = true, RouteSettings? routeSettings, AnimationController? transitionAnimationController, Offset? anchorPoint, bool useSafeArea = false}) → Future<T?> - Shows a dialog.
-
showFPersistentSheet(
{required BuildContext context, required FLayout side, required Widget builder(BuildContext, FPersistentSheetController), FSheetStyle style(FSheetStyle)?, double? mainAxisMaxRatio = 9 / 16, BoxConstraints constraints = const BoxConstraints(), bool draggable = true, Offset? anchorPoint, bool useSafeArea = false, bool keepAliveOffstage = false, Key? key}) → FPersistentSheetController - Shows a persistent sheet that appears above the current widget. It should have a FSheets or FScaffold ancestor.
-
showFSheet<
T> ({required BuildContext context, required WidgetBuilder builder, required FLayout side, FSheetStyle style(FSheetStyle)?, double? mainAxisMaxRatio = 9 / 16, String? barrierLabel, bool barrierDismissible = true, BoxConstraints constraints = const BoxConstraints(), bool draggable = true, RouteSettings? routeSettings, AnimationController? transitionAnimationController, Offset? anchorPoint, bool useSafeArea = false}) → Future< T?> -
Shows a modal sheet that appears from the given
side
. -
showFToast(
{required BuildContext context, required Widget title, FToastStyle style(FToastStyle)?, Widget? icon, Widget? description, Widget suffixBuilder(BuildContext, FToasterEntry)?, FToastAlignment? alignment, List< AxisDirection> ? swipeToDismiss, Duration? duration = const Duration(seconds: 5), VoidCallback? onDismiss}) → FToasterEntry - Displays a FToast in a toaster.
-
showRawFToast(
{required BuildContext context, required Widget builder(BuildContext context, FToasterEntry entry), FToastStyle style(FToastStyle)?, FToastAlignment? alignment, List< AxisDirection> ? swipeToDismiss, Duration? duration = const Duration(seconds: 5), VoidCallback? onDismiss}) → FToasterEntry - Displays a raw toast in a toaster.
Typedefs
-
FAutoCompleteContentBuilder
= List<
FAutocompleteItemMixin> Function(BuildContext context, String query, Iterable<String> values) - A builder for FAutocomplete's results.
- FCalendarDayData = ({bool current, DateTime date, bool selectable, bool selected, FCalendarDayPickerStyle style, bool today})
- A calendar day's data.
-
FFieldBuilder<
T> = Widget Function(BuildContext context, T style, Set< WidgetState> states, Widget field) - A callback for decorating a field. It should always use the given field.
-
FFieldIconBuilder<
T> = Widget Function(BuildContext context, T style, Set< WidgetState> states) - A callback for building a field's icon.
-
FLineCalendarItemData
= ({DateTime date, Set<
WidgetState> states, FLineCalendarStyle style, bool today}) - The state of a line calendar item used to build a line calendar item.
-
FMultiSelectTagBuilder<
T> = Widget Function(BuildContext context, FMultiSelectController< T> controller, FMultiSelectStyle style, T value, Widget label) - A function that builds a tag in a FMultiSelect.
- FPortalBox = ({Alignment anchor, Offset offset, Size size})
- A portal's rectangle.
- FPortalChildBox = ({Alignment anchor, Offset offset, Size size})
- A portal child's rectangle.
-
FSelectGroupController<
T> = FMultiValueNotifier< T> - A FSelectGroup's controller.
-
FSelectMenuTileController<
T> = FMultiValueNotifier< T> - A FSelectMenuTile's controller.
-
FSelectSearchContentBuilder<
T> = List< FSelectItemMixin> Function(BuildContext context, String query, Iterable<T> values) - A builder for FSelect search results.
-
FSelectTileGroupController<
T> = FMultiValueNotifier< T> - A controller for a FSelectTileGroup.
- FTextFieldCounterBuilder = Widget? Function(BuildContext context, int currentLength, int? maxLength, bool focused)
- A callback for building a custom counter for a text field.