responsive_builder library
Classes
- OrientationLayoutBuilder
- Provides a builder function for a landscape and portrait widget
- RefinedBreakpoints
- Manually define refined breakpoints
- RefinedLayoutBuilder
- Provides a builder function for refined screen sizes to be used with ScreenTypeLayout
- ResponsiveApp
- Wrap your app with this widget if you want to use the responsive sizing extension
- ResponsiveAppUtil
- ResponsiveBuilder
- A widget with a builder that provides you with the sizingInformation
- ResponsiveSizingConfig
- Keeps the configuration that will determines the breakpoints for different device sizes
- ScreenBreakpoints
- Manually define screen resolution breakpoints
- ScreenTypeLayout
- Provides a builder function for different screen types
-
ScreenTypeValueBuilder<
T> - ScrollTransformItem
- ScrollTransformView
- SizingInformation
- Contains sizing information to make responsive choices for the current screen
Extensions
Functions
-
getDeviceType(
Size size, [ScreenBreakpoints? breakpoint]) → DeviceScreenType - Returns the DeviceScreenType that the application is currently running on
-
getRefinedSize(
Size size, {RefinedBreakpoints? refinedBreakpoint, bool isWebOrDesktop = kIsWeb}) → RefinedSize -
Returns the
RefindedSize
for each device that the application is currently running on -
getValueForRefinedSize<
T> ({required BuildContext context, required T normal, T? large, T? extraLarge, T? small}) → T - Will return one of the values passed in for the refined size
-
getValueForScreenType<
T> ({required BuildContext context, required T mobile, T? tablet, T? desktop, T? watch}) → T - Will return one of the values passed in for the device it's running on
Typedefs
- WidgetBuilder = Widget Function(BuildContext)