rs_seek library
A Flutter package for responsive design, providing utilities for spacing, typography,
Classes
- ResponsiveBuilder
- A widget that builds its child based on the current responsive breakpoint and orientation.
- RsAspectRatio
- A widget that applies a specific aspect ratio based on the device orientation.
- RsBreakpoints
- A utility class for handling responsive breakpoints in Flutter applications.
- RsContainer
- A responsive container widget that centers its child and applies
- RsGrid
- A responsive grid layout widget that arranges its children in a grid format
- RsGridColumn
- A responsive grid layout widget that adapts to different screen sizes
- RsSpacing
- RsSpacing class provides a set of predefined spacing constants
- RsTypography
- Typography utility class for responsive text sizes.
Enums
- RsBreakpoint
- Enum representing the different responsive breakpoints.
Extensions
- RsContext on BuildContext
- Extension on BuildContext to provide responsive utilities.
- RsSizeExtension on BuildContext
- Extension on BuildContext to provide methods for calculating sizes
Functions
-
rsWhen<
T> ({required BuildContext context, required T xs, T? sm, T? md, T? lg, T? xl}) → T - Returns a value based on the current breakpoint.
Typedefs
- RsWidgetBuilder = Widget Function(BuildContext context, RsBreakpoint breakpoint, Orientation orientation)
- A builder that provides responsive widgets based on the current breakpoint and orientation.