NiceDensity enum

Vertical rhythm of the table: how tall each row is and how much padding cells get.

Inheritance
Available extensions

Values

compact → const NiceDensity

40 px rows. Dense operational screens and long lists.

const NiceDensity(40, 36)
comfortable → const NiceDensity

52 px rows. The default; balanced for mixed text and chips.

const NiceDensity(52, 44)
spacious → const NiceDensity

64 px rows. Avatars with subtitles, touch-first layouts.

const NiceDensity(64, 48)

Properties

hashCode → int
The hash code for this object.
no setterinherited
headerHeight → double
Height of the header row in logical pixels.
final
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
rowHeight → double
Height of a data row in logical pixels.
final
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
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

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