ResponsiveBreakpoints class

Responsive breakpoints for adaptive layout switching.

Defines screen width thresholds for switching between list and grid layouts.

Constructors

ResponsiveBreakpoints()

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

getCrossAxisCount(double width) int
Determines the appropriate cross-axis count based on screen width.
getLayoutType(double width) String
Gets the layout type name for debugging.
isGridLayout(double width) bool
Determines if the current width should use a grid layout.
isListLayout(double width) bool
Determines if the current width should use a list layout (single column).

Constants

mobile → const double
Mobile breakpoint (600px): Below this width, use single column list.
tablet → const double
Tablet breakpoint (1024px): Between mobile and tablet, use 2 columns.