AdaptiveDestination class
A navigation destination for PrismAdaptiveScaffold.
- Annotations
Constructors
- AdaptiveDestination({required IconData icon, required String label, IconData? selectedIcon})
-
Creates a destination.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
The icon shown when unselected.
final
- label → String
-
The label text.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIcon → IconData?
-
Optional distinct icon shown when selected. Falls back to icon.
final
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