TopLevelDestination
The destinations shown in the navigation bar or rail.
Each entry owns a back stack of its own, so switching between them preserves where the user was. The first entry is the start destination: the app exits from there, and back from any other top-level destination returns to it.
Properties
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Label under the icon.
Icon shown when this destination is current.
Title shown in the top app bar.
Icon shown otherwise.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.