OudsGridScheme class

Responsive grid token scheme for OUDS Flutter.

Provides dynamic access to all grid tokens depending on the current window width size class (extraCompact, compact, medium). Use OudsGridScheme.fromContext to get an instance, then access any grid token with the correct value for the device size.

Constructors

OudsGridScheme.fromContext({required BuildContext context, required OudsGridSemanticTokens gridTokens})
Factory to create a responsive OudsGridScheme from context and grid tokens.
factory

Properties

columnGap double
no setter
gridTokens OudsGridSemanticTokens
final
hashCode int
The hash code for this object.
no setterinherited
margin double
no setter
maxWidth int
no setter
minWidth int
Returns the gap depending on the window size class.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeClass OudsWindowWidthSizeClass
final

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