SizeDimen class

Inheritance

Constructors

SizeDimen({required SizeDimenData normal, SizeDimenData? medium, SizeDimenData? large, SizeDimenData? larger, SizeDimenData? largest, SizeDimenData? small, SizeDimenData? smaller, SizeDimenData? smallest})
const
SizeDimen.all(double value)
const
SizeDimen.avatar({SizeDimenData normal = 40, SizeDimenData medium = 60, SizeDimenData large = 90, SizeDimenData larger = 120, SizeDimenData largest = 160, SizeDimenData small = 32, SizeDimenData smaller = 28, SizeDimenData smallest = 24})
const
SizeDimen.corner({SizeDimenData normal = 12, SizeDimenData medium = 16, SizeDimenData large = 24, SizeDimenData larger = 32, SizeDimenData largest = 50, SizeDimenData small = 8, SizeDimenData smaller = 4, SizeDimenData smallest = 2})
const
SizeDimen.divider({SizeDimenData normal = 1, SizeDimenData medium = 2, SizeDimenData large = 4, SizeDimenData larger = 8, SizeDimenData largest = 16, SizeDimenData small = 0.75, SizeDimenData smaller = 0.5, SizeDimenData smallest = 0.25})
const
SizeDimen.font({SizeDimenData normal = 14, SizeDimenData medium = 16, SizeDimenData large = 18, SizeDimenData larger = 24, SizeDimenData largest = 32, SizeDimenData small = 12, SizeDimenData smaller = 10, SizeDimenData smallest = 8})
const
SizeDimen.icon({SizeDimenData normal = 24, SizeDimenData medium = 28, SizeDimenData large = 32, SizeDimenData larger = 40, SizeDimenData largest = 50, SizeDimenData small = 18, SizeDimenData smaller = 16, SizeDimenData smallest = 12})
const
SizeDimen.indicator({SizeDimenData normal = 4, SizeDimenData medium = 5, SizeDimenData large = 6, SizeDimenData larger = 8, SizeDimenData largest = 12, SizeDimenData small = 3, SizeDimenData smaller = 2, SizeDimenData smallest = 1})
const
SizeDimen.infinity()
const
const
SizeDimen.margin({SizeDimenData normal = 12, SizeDimenData medium = 16, SizeDimenData large = 24, SizeDimenData larger = 32, SizeDimenData largest = 50, SizeDimenData small = 8, SizeDimenData smaller = 4, SizeDimenData smallest = 2})
const
SizeDimen.padding({SizeDimenData normal = 12, SizeDimenData medium = 16, SizeDimenData large = 24, SizeDimenData larger = 32, SizeDimenData largest = 50, SizeDimenData small = 8, SizeDimenData smaller = 4, SizeDimenData smallest = 2})
const
SizeDimen.size({SizeDimenData normal = 12, SizeDimenData medium = 16, SizeDimenData large = 24, SizeDimenData larger = 32, SizeDimenData largest = 50, SizeDimenData small = 8, SizeDimenData smaller = 4, SizeDimenData smallest = 2})
const
SizeDimen.space({SizeDimenData normal = 12, SizeDimenData medium = 16, SizeDimenData large = 24, SizeDimenData larger = 32, SizeDimenData largest = 50, SizeDimenData small = 8, SizeDimenData smaller = 4, SizeDimenData smallest = 2})
const
SizeDimen.stroke({SizeDimenData normal = 1, SizeDimenData medium = 1.5, SizeDimenData large = 2, SizeDimenData larger = 4, SizeDimenData largest = 8, SizeDimenData small = 0.75, SizeDimenData smaller = 0.5, SizeDimenData smallest = 0.25})
const
SizeDimen.zero()
const

Properties

hashCode int
The hash code for this object.
no setteroverride
large SizeDimenData
final
larger SizeDimenData
final
largest SizeDimenData
final
medium SizeDimenData
final
normal SizeDimenData
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
small SizeDimenData
final
smaller SizeDimenData
final
smallest SizeDimenData
final

Methods

copy({SizeDimenData? normal, SizeDimenData? medium, SizeDimenData? large, SizeDimenData? larger, SizeDimenData? largest, SizeDimenData? small, SizeDimenData? smaller, SizeDimenData? smallest}) SizeDimen
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scale(double scaleFactor) SizeDimen
override
toString() String
A string representation of this object.
override

Operators

operator %(SizeDimen other) SizeDimen
operator *(SizeDimen other) SizeDimen
operator +(SizeDimen other) SizeDimen
operator -(SizeDimen other) SizeDimen
operator /(SizeDimen other) SizeDimen
operator ==(Object other) bool
The equality operator.
override