BaseTabScaffold class

BaseTabScaffold use CupertinoTabScaffold by cupertino *** use cupertino = { forceUseMaterial: true } to force use Scaffold material,use Scaffold by material *** use material = { forceUseCupertino: true } to force use CupertinoTabScaffold

Inheritance

Constructors

BaseTabScaffold({Key baseKey, Key key, Color backgroundColor, BaseTabBar tabBar, List<Widget> tabViews, bool resizeToAvoidBottomInset = true, CupertinoTabController controller, Map<String, WidgetBuilder> routes = const <String, WidgetBuilder>{}, GlobalKey<NavigatorState> navigatorKey, RouteFactory onGenerateRoute, String defaultTitle, RouteFactory onUnknownRoute, List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[], Widget floatingActionButton, FloatingActionButtonLocation floatingActionButtonLocation, FloatingActionButtonAnimator floatingActionButtonAnimator, List<Widget> persistentFooterButtons, Widget drawer, Widget endDrawer, Widget bottomSheet, bool primary = true, DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start, bool extendBody = false, Key tabViewKey, Map<String, dynamic> cupertino, Map<String, dynamic> material})
const

Properties

backgroundColor Color
CupertinoTabScaffold.backgroundColor or Scaffold.backgroundColor
final
bottomSheet Widget
Scaffold.bottomSheet
final
controller CupertinoTabController
*** general properties end *** *** cupertino properties start *** CupertinoTabScaffold.controller
final
cupertino Map<String, Object>
final, inherited
defaultTitle String
CupertinoTabView.defaultTitle
final
drawer Widget
Scaffold.drawer
final
drawerDragStartBehavior DragStartBehavior
Scaffold.drawerDragStartBehavior
final
endDrawer Widget
Scaffold.endDrawer
final
extendBody bool
Scaffold.extendBody
final
floatingActionButton Widget
*** cupertino properties end *** *** material properties start *** Scaffold.floatingActionButton
final
floatingActionButtonAnimator FloatingActionButtonAnimator
Scaffold.floatingActionButtonAnimator
final
floatingActionButtonLocation FloatingActionButtonLocation
Scaffold.floatingActionButtonLocation
final
hashCode int
The hash code for this object. [...]
@nonVirtual, read-only, inherited
key Key
*** general properties start ***
final
material Map<String, Object>
final, inherited
CupertinoTabView.navigatorKey
final
CupertinoTabView.navigatorObservers
final
onGenerateRoute RouteFactory
CupertinoTabView.onGenerateRoute
final
onUnknownRoute RouteFactory
CupertinoTabView.onUnknownRoute
final
persistentFooterButtons List<Widget>
Scaffold.persistentFooterButtons
final
primary bool
Scaffold.primary
final
resizeToAvoidBottomInset bool
CupertinoTabScaffold.resizeToAvoidBottomInset or Scaffold.resizeToAvoidBottomInset
final
routes Map<String, WidgetBuilder>
CupertinoTabView.routes
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tabBar BaseTabBar
CupertinoTabBar or BottomNavigationBar
final
tabViewKey Key
CupertinoTabView.tabViewKey
final
tabViews List<Widget>
CupertinoTabView.builder or Scaffold.body
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree. [...]
inherited
createState() State<BaseTabScaffold>
*** material properties end ***
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toDiagnosticsNode({String name, DiagnosticsTreeStyle style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. [...]
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object. [...]
inherited
toStringDeep({String prefixLineOne = '', String prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants. [...]
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object. [...]
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
@nonVirtual, inherited