SolidNavTab class

Configuration for a navigation tab.

Constructors

SolidNavTab.new({required String title, required IconData icon, Color? color, Widget? content, String? tooltip, String? message, String? dialogTitle, void action(BuildContext)?})
const

Properties

action → void Function(BuildContext)?
Optional custom action to execute when tab is selected.
final
color Color?
Optional custom colour for the icon. If null, uses theme default.
final
content Widget?
The content widget to display when this tab is selected.
final
dialogTitle String?
Optional dialog title when showing a message.
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData
The icon to display for the tab.
final
message String?
Optional dialog message to show when tab is selected.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The display title of the tab.
final
tooltip String?
Optional tooltip message for the tab (supports Markdown).
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