GridConstants class

A class that contains all responsive design constants and utilities.

This class centralizes all grid-related constants including margins, gutters, spacing values, and maximum widget widths for different screen types.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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 Methods

getTabletWidgetMaxWidth() double
Gets the maximum width for widgets on tablet screens.

Constants

desktopGutter → const double
desktopL → const double
desktopM → const double
desktopMargin → const double
desktopS → const double
desktopWidgetMaxWidth → const double
The maximum width for widgets on desktop, the default value is set to 645.
desktopXL → const double
desktopXS → const double
desktopXXL → const double
mobileGutter → const double
mobileL → const double
mobileM → const double
mobileMargin → const double
mobileS → const double
mobileWidgetMaxWidth → const double
The maximum width for widgets on mobile, the default value is set to double.infinity
mobileXL → const double
mobileXS → const double
mobileXXL → const double
tabletBreakpoint → const double
tabletGutter → const double
tabletL → const double
tabletM → const double
tabletMargin → const double
tabletS → const double
tabletXL → const double
tabletXS → const double
tabletXXL → const double