ModTab class
Constructors
-
ModTab.new({required String id, required String text, TextStyle? style, Color? backgroundColor, VoidCallback? onClose, bool closeable = false, Future<
bool> onClosing()?, dynamic data, Widget? icon}) -
const
Properties
- backgroundColor → Color?
-
final
- closeable → bool
-
final
- data → dynamic
-
A dynamic field that can store any type of object associated with this tab
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
Optional icon widget to display to the left of the text
final
- id → String
-
final
- onClose → VoidCallback?
-
final
-
onClosing
→ Future<
bool> Function()? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle?
-
final
- text → String
-
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