VisualDensity class final
Flutter's VisualDensity.
- Annotations
-
- @immutable
Constructors
- VisualDensity({double horizontal = 0, double vertical = 0})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- horizontal → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vertical → double
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Object? json) → VisualDensity?
Constants
- standard → const VisualDensity