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
CupertinoTabScaffold: 2021.04.01 Scaffold: 2021.04.03 modify 2021.06.25 by flutter 2.2.2
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BaseStatefulWidget
- BaseTabScaffold
Constructors
-
BaseTabScaffold({Key? key, BaseAppBar? appBar, Color? backgroundColor, BaseTabBar? tabBar, List<
Widget> ? tabViews, bool resizeToAvoidBottomInset = true, CupertinoTabController? controller, Map<String, WidgetBuilder> ? routes = const <String, WidgetBuilder>{}, String? restorationId, List<String?> ? restorationScopeIds, RouteFactory? onGenerateRoute, String? defaultTitle, RouteFactory? onUnknownRoute, Widget? floatingActionButton, FloatingActionButtonLocation? floatingActionButtonLocation, FloatingActionButtonAnimator? floatingActionButtonAnimator, Widget? drawer, Widget? endDrawer, Widget? bottomSheet, bool primary = true, DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start, bool extendBody = false, bool extendBodyBehindAppBar = false, Color? drawerScrimColor, double? drawerEdgeDragWidth, bool drawerEnableOpenDragGesture = true, bool endDrawerEnableOpenDragGesture = true, List<Key?> ? tabViewKeys, DrawerCallback? onDrawerChanged, DrawerCallback? onEndDrawerChanged, BaseParam? baseParam}) -
const
Properties
- appBar → BaseAppBar?
-
*** general properties start ***
AppBar for the tab scaffold
Will use CNNavigationBar when nativeIOS is enabled
final
- backgroundColor → Color?
-
CupertinoTabScaffold.backgroundColoror Scaffold.backgroundColorfinal - baseParam → BaseParam?
-
Personalization parameters, gets platform parameters first, then mode parameters
finalinherited
- bottomSheet → Widget?
-
Scaffold.bottomSheet
final
- controller → CupertinoTabController?
-
*** general properties end ***
*** cupertino properties start ***
CupertinoTabScaffold.controllerfinal - defaultTitle → String?
-
CupertinoTabView.defaultTitle
final
- drawer → Widget?
-
Scaffold.drawer
final
- drawerDragStartBehavior → DragStartBehavior
-
Scaffold.drawerDragStartBehavior
final
- drawerEdgeDragWidth → double?
-
Scaffold.drawerEdgeDragWidth
final
- drawerEnableOpenDragGesture → bool
-
Scaffold.drawerEnableOpenDragGesture
final
- drawerScrimColor → Color?
-
Scaffold.drawerScrimColor
final
- endDrawer → Widget?
-
Scaffold.endDrawer
final
- endDrawerEnableOpenDragGesture → bool
-
Scaffold.endDrawerEnableOpenDragGesture
final
- extendBody → bool
-
Scaffold.extendBody
final
- extendBodyBehindAppBar → bool
-
Scaffold.extendBodyBehindAppBar
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.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
CupertinoTabView.navigatorKey
final
-
CupertinoTabView.navigatorObservers
final
- onDrawerChanged → DrawerCallback?
-
Scaffold.onDrawerChanged
final
- onEndDrawerChanged → DrawerCallback?
-
Scaffold.onEndDrawerChanged
final
- onGenerateRoute → RouteFactory?
-
CupertinoTabView.onGenerateRoute
final
- onUnknownRoute → RouteFactory?
-
CupertinoTabView.onUnknownRoute
final
-
Scaffold.persistentFooterButtons
final
- primary → bool
-
Scaffold.primary
final
- resizeToAvoidBottomInset → bool
-
CupertinoTabScaffold.resizeToAvoidBottomInsetor Scaffold.resizeToAvoidBottomInsetfinal - restorationId → String?
-
CupertinoTabScaffold.restorationIdor Scaffold.restorationIdfinal -
restorationScopeIds
→ List<
String?> ? -
CupertinoTabView.restorationScopeId
final
-
routes
→ Map<
String, WidgetBuilder> ? -
CupertinoTabView.routes
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tabBar → BaseTabBar?
-
CupertinoTabBaror BottomNavigationBarfinal -
tabViewKeys
→ List<
Key?> ? -
CupertinoTabView.tabViewKeyfinal -
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.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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, int wrapWidth = 65}) → 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.
inherited