SizeDimen class
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
-
SizeDimen.logo({SizeDimenData normal = 40, SizeDimenData medium = 50, SizeDimenData large = 75, SizeDimenData larger = 90, SizeDimenData largest = 120, SizeDimenData small = 32, SizeDimenData smaller = 28, SizeDimenData smallest = 24})
-
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