ScaffoldFactory class

Constructors

ScaffoldFactory({@required GlobalKey<ScaffoldState> scaffoldKey, @required MaterialPalette materialPalette, dynamic event })
factory

Properties

appBar ↔ AppBar
read / write
appBarVisibility ↔ bool
App bar
read / write
backgroundType BackgroundType
read / write
bottomNavigationBar ↔ Widget
read / write
bottomNavigationBarVisibility ↔ bool
Bottom Navigation Bar
read / write
colorPalette MaterialPalette
Color, Palette and Theme
read / write
drawer ↔ Widget
read / write
drawerVisibility ↔ bool
Drawer
read / write
fabLocation ↔ FloatingActionButtonLocation
read / write
floatingActionButton ↔ Widget
read / write
floatingActionButtonVisibility ↔ bool
Floating Action Button
read / write
gradientBackgroundColors ↔ List<Color>
read / write
nestedAppBar ↔ NestedScrollView
read / write
nestedAppBarVisibility ↔ bool
Nested app bar
read / write
primary ↔ bool
read / write
scaffoldFactoryBehavior ScaffoldFactoryBehaviors
read / write
scaffoldKey ↔ GlobalKey<ScaffoldState>
read / write
textTheme ↔ TextTheme
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

build(Widget bodyWidget) → Widget
buildAppBar({bool titleVisibility, bool leadingVisibility, bool tabBarVisibility, Widget titleWidget, Widget leadingWidget, Color backgroundColor, bool centerTitle: false, bool scrollableTab, TabController tabController, List<Widget> tabWidgetList }) → AppBar
Simple implementation of App Bar which user can use it with easy configuration
buildBottomAppBar({Widget child, bool showNotch: false, Color color, Color splashColor }) → Widget
buildBottomNavigationBar({List<BottomNavigationBarItem> items, void onTap, int currentIndex: 0, Color color }) → Widget
buildFloatingActionButton({Widget fabBody, String tooltip: "", String heroTag: "", Color backgroundColor, bool mini: false }) → FloatingActionButton
buildNestedScrollView({bool titleVisibility, bool leadingVisibility, bool tabBarVisibility, Widget bodyWidget, bool scrollableTab, List<Widget> tabWidgetList, TabController tabController, Widget titleWidget, Widget leadingWidget, Color backgroundColor, bool centerTitle: false, bool floating: false }) → NestedScrollView
dispose() → void
init({BackgroundType backgroundType: BackgroundType.normal, bool appBarVisibility: false, bool floatingActionButtonVisibility: false, bool bottomNavigationBarVisibility: false, bool nestedAppBarVisibility: false, bool drawerVisibility: false, Widget floatingActionButton, FloatingActionButtonLocation floatingActionButtonLocation, AppBar appBar, NestedScrollView nestedAppBar, Widget drawer, Widget bottomNavigationBar, List<Color> gradientBackgroundColors }) → void
launchURL(String url) → void
showSnackBar({SnackBarMessageType messageType, bool iconVisibility, String message: "", Duration duration, Color backgroundColor: Colors.black, Color textColor: Colors.white, Color iconColor: Colors.white, TextDirection textDirection: TextDirection.ltr }) → void
updateAndroidFrameColor({Color statusBarColor, Color navigationBarColor }) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited