VisualDensityEnum enum

Inheritance
Available extensions

Values

standard → const VisualDensityEnum
const VisualDensityEnum(label: 'Standard', describe: 'The Standard VisualDensity is the least dense of component UI ' 'density settings in Flutter. This is the preferred density on…
comfortable → const VisualDensityEnum
const VisualDensityEnum(label: 'Comfortable', describe: 'The Comfortable VisualDensity is a medium level of component UI ' 'density setting in Flutter. It is not used by Flutter SD…
compact → const VisualDensityEnum
const VisualDensityEnum(label: 'Compact', describe: 'The Compact VisualDensity is the most dense and compact ' 'component UI density setting in Flutter. It is used by ' 'Fl…
platform → const VisualDensityEnum
const VisualDensityEnum(label: 'Platform adaptive', describe: 'This VisualDensity is adaptive based on the current ' 'platform on which the framework is executing. If a density is …
comfortablePlatform → const VisualDensityEnum
const VisualDensityEnum(label: 'Platform comfortable adaptive', describe: 'This VisualDensity is adaptive based on the current ' 'platform on which the framework is executing. It &…

Properties

code String
final
describe String
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData
final
index int
A numeric identifier for the enumerated value.
no setterinherited
label String
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
setting(TargetPlatform? platform) VisualDensity
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<VisualDensityEnum>
A constant List of the values in this enum, in order of their declaration.