PlatformBreakpointConfig class

Configuration for breakpoints for a specific platform. Allows defining different breakpoint values for different platforms.

Annotations

Constructors

PlatformBreakpointConfig({required AdaptivePlatform platform, required List<BreakpointData> breakpoints})
const

Properties

breakpoints List<BreakpointData>
final
hashCode int
The hash code for this object.
no setterinherited
platform AdaptivePlatform
The platform this configuration applies to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getActiveBreakpointId(double screenWidth) BreakpointId
Finds the active BreakpointId for a given screen width. Assumes breakpoints are ordered from smallest to largest for correct matching.
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