NmLayeredCardState class

State for the layered card stack.

Constructors

NmLayeredCardState({required List<NmPropertyLayer> layers, int currentLayerIndex = 0, double peekOffset = 0.0})
Creates a NmLayeredCardState.
const

Properties

canDigDeeper → bool
Can dig deeper.
no setter
canGoBack → bool
Can go back.
no setter
currentLayer → NmPropertyLayer?
Current layer.
no setter
currentLayerIndex → int
Current layer index.
final
hashCode → int
The hash code for this object.
no setterinherited
layers → List<NmPropertyLayer>
Layers.
final
peekOffset → double
Peek offset.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<NmPropertyLayer>? layers, int? currentLayerIndex, double? peekOffset}) → NmLayeredCardState
Copy with.
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