InnerBuilder class abstract
Simple builder which extend DelegateBuilder to provide some necessary config.
- Inheritance
-
- Object
- DelegateBuilder
- InnerBuilder
- Implementers
Constructors
-
InnerBuilder.new({required List<
TabItem> items, required Color activeColor, required Color color}) - Create style builder.
Properties
- activeColor → Color
-
Color used when tab is active.
final
- color → Color
-
Color used for tab.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
TabItem> -
List of TabItem stands for tabs.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context, int index, bool active) → Widget -
Called when the tab item is build.
inherited
-
fixed(
) → bool -
Whether the convex shape is fixed center or positioned according to selection.
inherited
-
hasNoText(
TabItem item) → bool - Return true if title text exists
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ofStyle(
BuildContext context) → StyleHook - Get style config
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited