AdeptTabBarAppBar<T> class
A tab bar used the widget tree typically in an AppBar.
Constructors
-
AdeptTabBarAppBar.new({required String title, required List<
T> list, required String getText(T), bool isScrollable = false, TabController? tabController}) - Constructor allows you to define styling and value properties.
Properties
- getText → String Function(T)
-
function to get display text for a given model.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isScrollable ↔ bool
-
Whether the tab bar is scrollable.
getter/setter pair
-
list
↔ List<
T> -
List of tabs data modeled by generic Type
T
.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tabController ↔ TabController?
-
Optional controller for managing the tabs.
getter/setter pair
- title ↔ String
-
Title shown in the app bar.
getter/setter pair
Methods
-
appBar(
) → AppBar - Returns the configured AppBar with optional tabs.
-
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