forui_hooks library

Functions

useFAccordionController({int min = 0, int? max, List<Object?>? keys}) → FAccordionController
Creates a FAccordionController that is automatically disposed.
useFAutocompleteController({required TickerProvider vsync, String? text, List<String> suggestions = const [], List<Object?>? keys}) → FAutocompleteController
Creates a FAutocompleteController that is automatically disposed.
useFCascadeResizableController({void onResizeUpdate(List<FResizableRegionData> resized)?, void onResizeEnd(List<FResizableRegionData> resized)?, List<Object?>? keys}) → FResizableController
Creates a FResizableController that cascades shrinking of a region below their minimum extents to its neighbours and is automatically disposed.
useFContinuousRangeSliderController({required FSliderSelection selection, double stepPercentage = 0.05, bool tooltips = true, List<Object?>? keys}) → FContinuousSliderController
Creates a FContinuousSliderController that represents a continuous range and is automatically disposed.
useFContinuousSliderController({required FSliderSelection selection, FSliderInteraction allowedInteraction = FSliderInteraction.tapAndSlideThumb, double stepPercentage = 0.05, bool tooltips = true, bool minExtendable = false, List<Object?>? keys}) → FContinuousSliderController
Creates a FContinuousSliderController that represents a continuous value and is automatically disposed.
useFDateCalendarController({DateTime? initialSelection, bool selectable(DateTime)?, bool toggleable = false, bool truncateAndStripTimezone = true, List<Object?>? keys}) → FCalendarController<DateTime?>
Creates a FCalendarController that allows only a single date to be selected and is automatically disposed.
useFDateFieldController({TickerProvider? vsync, DateTime? initialDate, FormFieldValidator<DateTime> validator = _defaultValidator, bool truncateAndStripTimezone = true, Duration popoverAnimationDuration = const Duration(milliseconds: 100), List<Object?>? keys}) → FDateFieldController
Creates a FDateFieldController that allows date selection through a calendar and/or input field and is automatically disposed.
useFDatesCalendarController({Set<DateTime> initialSelections = const {}, bool selectable(DateTime)?, bool truncateAndStripTimezone = true, List<Object?>? keys}) → FCalendarController<Set<DateTime>>
Creates a FCalendarController that allows only multiple dates to be selected and is automatically disposed.
useFDiscreteRangeSliderController({required FSliderSelection selection, bool tooltips = true, List<Object?>? keys}) → FDiscreteSliderController
Creates a FDiscreteSliderController that represents a discrete range and is automatically disposed.
useFDiscreteSliderController({required FSliderSelection selection, FSliderInteraction allowedInteraction = FSliderInteraction.tapAndSlideThumb, bool tooltips = true, bool minExtendable = false, List<Object?>? keys}) → FDiscreteSliderController
Creates a FDiscreteSliderController that represents a discrete value and is automatically disposed.
useFMultiSelectController<T>({TickerProvider? vsync, Set<T>? value, int min = 0, int? max, Duration popoverAnimationDuration = const Duration(milliseconds: 100), List<Object?>? keys}) → FMultiSelectController<T>
Creates a FMultiSelectController that allows an item to be selected.
useFMultiValueNotifier<T>({Set<T> value = const {}, int min = 0, int? max, List<Object?>? keys}) → FMultiValueNotifier<T>
Creates a FMultiValueNotifier that manages a set of elements and is automatically disposed.
useFPaginationController({required int pages, int initialPage = 0, bool showEdges = true, int siblings = 1, List<Object?>? keys}) → FPaginationController
Creates a FPaginationController that is automatically disposed.
useFPickerController({required List<int> initialIndexes, List<Object?>? keys}) → FPickerController
Creates a FPickerController that is automatically disposed.
useFPopoverController({TickerProvider? vsync, Duration animationDuration = const Duration(milliseconds: 100), List<Object?>? keys}) → FPopoverController
Creates a FPopoverController that is automatically disposed.
useFRadioAccordionController({int min = 0, int? max, List<Object?>? keys}) → FAccordionController
Creates a FAccordionController that allows only one section to be expanded at a time and is automatically disposed.
useFRadioMultiValueNotifier<T>({T? value, List<Object?>? keys}) → FMultiValueNotifier<T>
Creates a radio FMultiValueNotifier that allows only one element at a time.
useFRadioSelectGroupController<T>({T? value, List<Object?>? keys}) → FSelectGroupController<T>
Creates a FSelectGroupController that allows only one element at a time.
useFRadioSelectMenuTileController<T>({T? value, List<Object?>? keys}) → FSelectMenuTileController<T>
Creates a FSelectMenuTileController that allows only one element at a time.
useFRadioSelectMenuTileGroupController<T>({T? value, List<Object?>? keys}) → FSelectTileGroupController<T>
Creates a FSelectTileGroupController that allows only one element at a time.
useFRangeCalendarController({(DateTime, DateTime)? initialSelection, bool selectable(DateTime)?, bool truncateAndStripTimezone = true, List<Object?>? keys}) → FCalendarController<(DateTime, DateTime)?>
Creates a FCalendarController that allows a single range to be selected to be selected and is automatically disposed.
useFResizableController({void onResizeUpdate(List<FResizableRegionData> resized)?, void onResizeEnd(List<FResizableRegionData> resized)?, List<Object?>? keys}) → FResizableController
Creates a FResizableController that allows only a single date to be selected and is automatically disposed.
useFSelectController<T>({TickerProvider? vsync, T? value, Duration popoverAnimationDuration = const Duration(milliseconds: 100), List<Object?>? keys}) → FSelectController<T>
Creates a FSelectController that allows an item to be selected.
useFSelectGroupController<T>({Set<T> value = const {}, int min = 0, int? max, List<Object?>? keys}) → FSelectGroupController<T>
Creates a FSelectGroupController that manages a set of elements and is automatically disposed.
useFSelectMenuTileController<T>({Set<T> value = const {}, int min = 0, int? max, List<Object?>? keys}) → FSelectMenuTileController<T>
Creates a FSelectMenuTileController that manages a set of elements and is automatically disposed.
useFSelectTileGroupController<T>({Set<T> value = const {}, int min = 0, int? max, List<Object?>? keys}) → FSelectTileGroupController<T>
Creates a FSelectTileGroupController that manages a set of elements and is automatically disposed.
useFTabController({required int length, int initialIndex = 0, TickerProvider? vsync, Duration? animationDuration, List<Object?>? keys}) → FTabController
Creates a FTabController that is automatically disposed.
useFTimeFieldController({TickerProvider? vsync, FTime? initialTime, FormFieldValidator<FTime> validator = _defaultValidator, Duration popoverAnimationDuration = const Duration(milliseconds: 100), List<Object?>? keys}) → FTimeFieldController
Creates a FTimeFieldController that allows time selection through a picker or input field and is automatically disposed.
useFTimePickerController({FTime initial = const FTime(), List<Object?>? keys}) → FTimePickerController
Creates a FTimePickerController that is automatically disposed.
useFTooltipController({TickerProvider? vsync, Duration animationDuration = const Duration(milliseconds: 100), List<Object?>? keys}) → FTooltipController
Creates a FTooltipController that is automatically disposed.