Insets class

A single source of truth for styling values like padding, spacing, corner shape, font sizes, and so on.

These constants can then be used in place of hard-coded numeric values.

Constructors

Insets()

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

Constants

l → const double
A large inset of 10.0.
m → const double
A medium inset of 8.0.
s → const double
A small inset of 6.0.
xl → const double
An extra large inset of 12.0.
xs → const double
An extra small inset of 4.0.
xxl → const double
An extra extra large inset of 16.0.
xxs → const double
An extra extra small inset of 2.0.