responsive_ui_kit library

Classes

BreakPoints
ResponsiveCenteredBody
A widget that centers its child within a constrained width, making it suitable for providing a responsive main content area.
ResponsiveLayoutProvider
ResponsiveSplitBody
A widget that displays two children in either a Row or a Column depending on screen width or a forced layout direction.
ScreenSizeProvider
TextSizes

Functions

getRespSize(BuildContext context, {required double size, BreakPoints breakPoints = const BreakPoints(), TextScalingValues scaleValues = (xs: 0.7, s: 0.95, m: 1.0, l: 1.3, xL: 1.6)}) double
Calculates a responsive size by applying a scaling factor based on screen width.
getRespTxtSizeWithTextScaler(BuildContext context, {required double size, BreakPoints breakPoints = const BreakPoints(), TextScalingValues scaleValues = (xs: 0.75, s: 0.95, m: 1.0, l: 1.2, xL: 1.4)}) double
Calculates a responsive text size that also respects the user's system text scaling settings.

Typedefs

TextScalingValues = ({double l, double m, double s, double xL, double xs})
A record type defining scaling values for different screen size categories.