Breakpoints class
Responsive breakpoints for different screen sizes
Constructors
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 Properties
- currentBreakpoint → String
-
Get current breakpoint name
no setter
- isDesktop → bool
-
Check if current screen is desktop
no setter
- isLargeDesktop → bool
-
Check if current screen is large desktop
no setter
- isLargeMobile → bool
-
Check if current screen is large mobile
no setter
- isMobile → bool
-
Check if current screen is mobile
no setter
- isSmallMobile → bool
-
Check if current screen is small mobile
no setter
- isTablet → bool
-
Check if current screen is tablet
no setter
Constants
- desktop → const double
- Desktop breakpoint (>= 900dp)
- largeDesktop → const double
- Large desktop breakpoint (>= 1200dp)
- largeMobile → const double
- Large mobile breakpoint (>= 400dp)
- mobile → const double
- Mobile breakpoint (< 600dp)
- smallMobile → const double
- Small mobile breakpoint (< 360dp)
- tablet → const double
- Tablet breakpoint (600dp - 900dp)