label property Null safety
Returns the label represented by the NavigationPage.
i.e., the text used in the bottom bar.
Implementation
String get label {
switch (this) {
case NavigationPage.screens:
return "Screens";
case NavigationPage.templates:
return "Templates";
case NavigationPage.settings:
return "Settings";
}
}