forui_hooks library

Functions

useFAccordionController({int min = 0, int? max, List<Object?>? keys}) → FAccordionController
Creates a FAccordionController that is automatically disposed.
useFAutocompleteController({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 FSliderValue value, double stepPercentage = 0.05, List<Object?>? keys}) → FContinuousSliderController
Creates a FContinuousSliderController that represents a continuous range and is automatically disposed.
useFContinuousSliderController({required FSliderValue value, FSliderInteraction interaction = .tapAndSlideThumb, double stepPercentage = 0.05, FSliderActiveThumb activeThumb = .max, List<Object?>? keys}) → FContinuousSliderController
Creates a FContinuousSliderController that represents a continuous value and is automatically disposed.
useFDateSelectionController({DateTime? initial, bool toggleable = true, List<Object?>? keys}) → FDateSelectionController<DateTime?>
Creates a FDateSelectionController that allows only a single date to be selected and is automatically disposed.
useFDatesSelectionController({Set<DateTime> initial = const {}, List<Object?>? keys}) → FDateSelectionController<Set<DateTime>>
Creates a FDateSelectionController that allows multiple dates to be selected and is automatically disposed.
useFDiscreteRangeSliderController({required FSliderValue value, List<Object?>? keys}) → FDiscreteSliderController
Creates a FDiscreteSliderController that represents a discrete range and is automatically disposed.
useFDiscreteSliderController({required FSliderValue value, FSliderInteraction interaction = .tapAndSlideThumb, FSliderActiveThumb activeThumb = .max, List<Object?>? keys}) → FDiscreteSliderController
Creates a FDiscreteSliderController that represents a discrete value and is automatically disposed.
useFGridCalendarController({bool selectable(DateTime)?, DateTime? start, DateTime? today, DateTime? initial, DateTime? end, List<Object?>? keys}) → FGridCalendarController
Creates a FGridCalendarController that cycles through the day, month and year grid pickers and is automatically disposed.
useFGridSplitCalendarController({bool selectable(DateTime)?, DateTime? start, DateTime? today, DateTime? initial, DateTime? end, List<Object?>? keys}) → FGridSplitCalendarController
Creates a FGridSplitCalendarController whose month and year grid pickers are independently togglable and is automatically disposed.
useFLineCalendarScrollController({DateTime? start, DateTime? end, DateTime? today, DateTime? initialDate, AlignmentDirectional initialAlignment = .center, bool keepScrollOffset = true, String? debugLabel, List<Object?>? keys}) → FLineCalendarScrollController
Creates a FLineCalendarScrollController that is automatically disposed.
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.
useFOpenRangeSelectionController({(DateTime?, DateTime?) initial = (null, null), bool startFirst = true, List<Object?>? keys}) → FDateSelectionController<(DateTime?, DateTime?)>
Creates a FDateSelectionController that allows a range with an open bound to be selected and is automatically disposed.
useFPaginationController({required int pages, int page = 0, int siblings = 1, bool showEdges = true, List<Object?>? keys}) → FPaginationController
Creates a FPaginationController that is automatically disposed.
useFPickerController({required List<int> indexes, List<Object?>? keys}) → FPickerController
Creates a FPickerController that is automatically disposed.
useFPopoverController({TickerProvider? vsync, bool shown = false, List<Object?>? keys}) → FPopoverController
Creates a FPopoverController that is automatically disposed.
useFRadioMultiValueNotifier<T>({T? value, List<Object?>? keys}) → FMultiValueNotifier<T>
Creates a radio FMultiValueNotifier that allows only one element at a time.
useFRangeSelectionController({(DateTime, DateTime)? initial, List<Object?>? keys}) → FDateSelectionController<(DateTime, DateTime)?>
Creates a FDateSelectionController that allows a single range 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>({T? value, bool toggleable = false, List<Object?>? keys}) → FSelectController<T>
Creates a FSelectController that allows an item to be selected.
useFTabController({required int length, int index = 0, TickerProvider? vsync, FTabMotion motion = const FTabMotion(), List<Object?>? keys}) → FTabController
Creates a FTabController that is automatically disposed.
useFTimeFieldController({FTime? time, FormFieldValidator<FTime> validator = _defaultValidator, List<Object?>? keys}) → FTimeFieldController
Creates a FTimeFieldController that allows time selection through a picker or input field and is automatically disposed.
useFTimePickerController({FTime time = const FTime(), List<Object?>? keys}) → FTimePickerController
Creates a FTimePickerController that is automatically disposed.
useFTooltipController({TickerProvider? vsync, bool shown = false, List<Object?>? keys}) → FTooltipController
Creates a FTooltipController that is automatically disposed.
useFWheelCalendarController({bool selectable(DateTime)?, DateTime? start, DateTime? today, DateTime? initial, DateTime? end, List<Object?>? keys}) → FWheelCalendarController
Creates a FWheelCalendarController that toggles between a day grid picker and a month-year wheel picker and is automatically disposed.