GigaSpacingCollection class

holds the default values

OVERRIDE for custom Values

Override any if you only have one set of Spacings

class MyGigaSpacing extends GigaSpacingCollection {
  @override
  GigaSpacing get any => const GigaSpacing(
        xxxs: 2.0,
        xxs: 8.0,
        xs: 10.0,
        s: 12.0,
        m: 16.0,
        l: 24.0,
        xl: 30.0,
        xxl: 40.0,
        xxxl: 46.0,
        xxxxl: 64.0,
      );
}
Available extensions

Constructors

GigaSpacingCollection()
const

Properties

any → GigaSpacing?
Override any if you don't want any responsive spacings
no setter
hashCode → int
The hash code for this object.
no setterinherited
lg → GigaSpacing
Value for breakpoint which is by default
no setter
md → GigaSpacing
Value for breakpoint which is by default
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sm1 → GigaSpacing
Value for breakpoint which is by default
no setter
sm2 → GigaSpacing
Value for breakpoint which is by default
no setter
xl → GigaSpacing
Value for breakpoint which is by default
no setter
xs → GigaSpacing
Value for breakpoint which is by default
no setter

Methods

find(double width) → GigaSpacing

Available on GigaSpacingCollection, provided by the GigaSpacingCollectionFind extension

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