ResponsiveSizeUtils class Null safety

Class use for beautiful responsive design both on tablets and mobiles This class specially used for developing an app for all devices without having specific different designs

Constructors

ResponsiveSizeUtils()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

statusBarHeight double
read-only
systemBottomNavigationBarHeight double
device system bar height
read-only

Static Methods

device() DEVICE
Return DEVICE type 0 <= Mobile portrait <= 480 <= Tablet portrait <= 720 <= Web Web is also equal to mobile landscape and tablet landscape and also desktop
fullHeight() double
return height of screen
fullWidth() double
return width of screen
height(double designedHeight, {double? maxHeight}) double
return a reasonable height value.
heightFraction({required double fraction}) double
Return the
heightSpacing({required double spaceSizeBeforeBreakPoint, required double spaceSizeAfterBreakPoint}) double
isPortrait() bool
Show if device is in portrait mode
responsiveFont({required double fontSize, double? maxFontSize}) double
This class gives you a reasonable font Size Use this class with fontSize and fontHeight property of TextStyle
responsiveWidgetAccordingToDevice({required Widget mobilePortrait, required Widget tabletPortrait, required Widget web}) Widget
With this widget you can have three different layouts for each kind of device
smallestWidth() double
Return smallest width of device
width(double designedWidth, {double? maxWidth}) double
return a reasonable width value.
widthFraction({required double fraction}) double
For calculating how much
widthSpacing({required double spaceSizeBeforeBreakPoint, required double spaceSizeAfterBreakPoint}) double?
With this class you can have