WrapperConfig class

Data class to handle the global configururation for the ResponsiveWrapper Helps to define the rules for the responsive

WrapperConfig(
  globalBreakpoints: ScreenBreakpoints(
    mobile: 321,
    tablet: 650,
    desktop: 1100,
  ),
  themeRule: newRule,
)

Constructors

WrapperConfig({ScreenBreakpoints globalBreakpoints = defaultMinimumBreakPoints, ThemeRule themeRule = ThemeRule.light, bool enableShortestSide = false})
const

Properties

enableShortestSide bool
final
globalBreakpoints ScreenBreakpoints
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
themeRule ThemeRule
final

Methods

getDeviceWidth(Size size) double
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