DimenInitializer class

Constructors

DimenInitializer({DeviceConfig? deviceConfig, DeviceType? deviceType, Iterable<DimenConfigData<Dimen>> dimens = const [], DimenConfig<ConstraintDimen> appbar = DefaultConfigs.appbar, DimenConfig<ConstraintDimen> bottom = DefaultConfigs.bottom, DimenConfig<ConstraintDimen> button = DefaultConfigs.button, DimenConfig<ConstraintDimen> image = DefaultConfigs.image, DimenConfig<ConstraintDimen> scaffold = DefaultConfigs.scaffold, DimenConfig<SizeDimen> avatar = DefaultConfigs.avatar, DimenConfig<SizeDimen> corner = DefaultConfigs.corner, DimenConfig<SizeDimen> divider = DefaultConfigs.divider, DimenConfig<SizeDimen> fontSize = DefaultConfigs.fontSize, DimenConfig<SizeDimen> icon = DefaultConfigs.icon, DimenConfig<SizeDimen> indicator = DefaultConfigs.indicator, DimenConfig<SizeDimen> margin = DefaultConfigs.margin, DimenConfig<SizeDimen> padding = DefaultConfigs.padding, DimenConfig<SizeDimen> size = DefaultConfigs.size, DimenConfig<SizeDimen> spacing = DefaultConfigs.spacing, DimenConfig<SizeDimen> stroke = DefaultConfigs.stroke, DimenConfig<WeightDimen> fontWeight = DefaultConfigs.fontWeight})

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

createInstance() → void
device(Size size) Device
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

Static Properties

i DimenInitializer
no setter
isInstance bool
no setter

Static Methods

assumedSize(Size size) Size?
attach({Iterable<DimenConfigData<Dimen>> dimens = const []}) → void
constraintOf(String name, Size size, {ConstraintDimenData? defaults, bool defaultScalable = false}) ConstraintDimen
init({DeviceConfig? deviceConfig, DeviceType? deviceType, Iterable<DimenConfigData<Dimen>> dimens = const [], DimenConfig<ConstraintDimen> appbar = DefaultConfigs.appbar, DimenConfig<ConstraintDimen> bottom = DefaultConfigs.bottom, DimenConfig<ConstraintDimen> button = DefaultConfigs.button, DimenConfig<ConstraintDimen> image = DefaultConfigs.image, DimenConfig<ConstraintDimen> scaffold = DefaultConfigs.scaffold, DimenConfig<SizeDimen> avatar = DefaultConfigs.avatar, DimenConfig<SizeDimen> corner = DefaultConfigs.corner, DimenConfig<SizeDimen> divider = DefaultConfigs.divider, DimenConfig<SizeDimen> fontSize = DefaultConfigs.fontSize, DimenConfig<SizeDimen> icon = DefaultConfigs.icon, DimenConfig<SizeDimen> indicator = DefaultConfigs.indicator, DimenConfig<SizeDimen> margin = DefaultConfigs.margin, DimenConfig<SizeDimen> padding = DefaultConfigs.padding, DimenConfig<SizeDimen> size = DefaultConfigs.size, DimenConfig<SizeDimen> spacing = DefaultConfigs.spacing, DimenConfig<SizeDimen> stroke = DefaultConfigs.stroke, DimenConfig<WeightDimen> fontWeight = DefaultConfigs.fontWeight}) DimenInitializer
of<T extends Dimen>(String name, Size size, [T? initial]) → T
sizeOf(String name, Size size) SizeDimen
weightOf(String name, Size size) WeightDimen