TabPageMixin mixin
Mixin to set the icon, and title of the tab when displaying the widget in the body.
Example:
class PageB extends StatelessWidget with TabPageMixin {
@override
final String title = 'PageB';
@override
final Icon icon = const Icon(Icons.dashboard);
@override
final IconData iconData = Icons.dashboard;
@override
Widget build(BuildContext context) {
return Placeholder();
}
}
Properties
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