MasterNavigationItem class

A navigation item used inside ArnaMasterDetailScaffold.

Constructors

MasterNavigationItem({Key? key, Widget? leading, String? title, String? subtitle, Widget? trailing, required WidgetBuilder builder, Widget? headerBarLeading, List<ArnaHeaderBarItem>? actions, ArnaBadge? badge, bool isFocusable = true, bool autofocus = false, Color? accentColor, MouseCursor cursor = MouseCursor.defer, String? semanticLabel})
Creates a master navigation item.
const

Properties

accentColor Color?
The color of the item's focused border.
final
actions List<ArnaHeaderBarItem>?
A list of ArnaHeaderBarItem widgets to display in a row after the middle widget, as the header bar actions.
final
autofocus bool
Whether this item should focus itself if nothing else is already focused.
final
badge ArnaBadge?
The ArnaBadge of the item.
final
builder WidgetBuilder
The widget builder of the item.
final
cursor MouseCursor
The cursor for a mouse pointer when it enters or is hovering over the item.
final
hashCode int
The hash code for this object.
no setterinherited
headerBarLeading Widget?
The leading widget laid out within the detailed page's header bar.
final
isFocusable bool
Whether this item is focusable or not.
final
key Key?
Controls how one widget replaces another widget in the tree.
final
leading Widget?
The leading widget of the item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel String?
The semantic label of the item.
final
subtitle String?
The subtitle of the item.
final
title String?
The title of the item.
final
trailing Widget?
The trailing widget of the item.
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