flexi_ui library

Classes

BreakpointValue<T>
A class that provides a value based on the current screen size breakpoints.
DeviceTypeConfig
Configuration class for determining device types and design constraints.
Flexi
Convenience class for accessing ScreenAdaptiveData from the widget tree.
FlexiAdaptiveNav
A helper widget that switches between navigation patterns based on screen size.
FlexiCircle
A convenience widget for rendering a circular container that scales safely.
FlexiConfig
A widget that provides ScreenAdaptiveData to its descendants using an InheritedModel.
FlexiDebugOverlay
A debug overlay that displays current screen metrics and responsive data.
FlexiFluid3
A class that handles multi-stage fluid scaling across three breakpoints.
FlexiGrid
A responsive grid that automatically adjusts the number of columns based on available width.
FlexiHelper
Helper class to provide semantic access to FlexiConfig data.
FlexiIconConfig
FlexiIconSize
Provides responsive icon sizes that scale fluidly across breakpoints.
FlexiInheritedWidget
InheritedWidget that propagates ScreenAdaptiveData and design configuration down the tree.
FlexiLayout
A widget that switches its content based on the current breakpoint.
FlexiMaxWidth
A container that constrains its child's width on large screens and centers it.
FlexiMinTapTarget
Ensures a minimum tap target size (Default: 48x48) for accessibility.
FlexiMotion
Provides responsive animation durations based on the current device.
FlexiSpacing
A centralized, responsive spacing system for uniform layout scaling.
FlexiSpacingConfig
FlexiTextClamp
Clamps the text scale factor to prevent extreme overflow on large accessibility settings.
FlexiTextStyles
A centralized, responsive typography system.
FlexiTypographyConfig
FlexiVisibility
A widget that efficiently hides/shows its child based on breakpoints.
ResponsiveCard
A convenience widget for creating responsive cards that scale relative to their parent container.
ResponsiveCardData
An immutable configuration for responsive cards.
ResponsiveInheritedModel
An InheritedModel that provides ResponsiveCardData to its descendants.
ResponsiveLayout
A widget that initializes a responsive layout.
ScreenAdaptiveData
Immutable data holding screen adaptation values provided by FlexiConfig.
ScreenInfo
Information about the current screen dimensions and breakpoints.
Tuple2<T1, T2>
Represents a 2-tuple, or pair.
Tuple3<T1, T2, T3>
Represents a 3-tuple, or triple.
Tuple4<T1, T2, T3, T4>
Represents a 4-tuple, or quadruple.
Tuple5<T1, T2, T3, T4, T5>
Represents a 5-tuple, or quintuple.
Tuple6<T1, T2, T3, T4, T5, T6>
Represents a 6-tuple, or sextuple.
Tuple7<T1, T2, T3, T4, T5, T6, T7>
Represents a 7-tuple, or septuple.

Enums

FlexiAspect
Aspects that can be used to listen for specific changes in Flexi UI.
FlexiBreakpoint
Defines the semantic breakpoint category for the current screen width.
TargetDeviceType
Defines the target device type for responsive design.

Extensions

AdaptiveHeightExtension on Tuple2<num, num>
Provides adaptive height extensions for Tuple2.
AdaptiveSizeProvider on num
Provides adaptive sizing extensions for numeric values within a ResponsiveLayout.
AdaptiveWidthExtension on Tuple2<num, num>
Provides adaptive width extensions for Tuple2.
BreakpointExtension on BreakpointValue<T>
FlexiContext on BuildContext
Semantic extensions for BuildContext to simplify access to Flexi UI data.
FlexiRadius on num
Extension for responsive border radius scaling.
FlexiSafeScaling on num
FlexiStroke on num
Extension for responsive stroke/border width scaling.
SizeExtension on num
Provides extension methods for adapting sizes based on screen dimensions.