init method

void init ({@required bool appBarVisibility, @required bool floatingActionButtonVisibility, @required bool bottomNavigationBarVisibility, @required bool nestedAppBarVisibility, @required bool drawerVisibility, BackgroundType backgroundType: BackgroundType.normal, Widget floatingActionButton, FloatingActionButtonLocation floatingActionButtonLocation, AppBar appBar, NestedScrollView nestedAppBar, Widget drawer, Widget bottomNavigationBar, List<Color> gradientBackgroundColors, Color backgroundColor })

Initialize ScaffoldFactory with the scopes you want

Implementation

void init({
  @required bool appBarVisibility,
  @required bool floatingActionButtonVisibility,
  @required bool bottomNavigationBarVisibility,
  @required bool nestedAppBarVisibility,
  @required bool drawerVisibility,
  BackgroundType backgroundType = BackgroundType.normal,
  Widget floatingActionButton,
  FloatingActionButtonLocation floatingActionButtonLocation,
  AppBar appBar,
  NestedScrollView nestedAppBar,
  Widget drawer,
  Widget bottomNavigationBar,
  List<Color> gradientBackgroundColors,
  Color backgroundColor,
}) {
  this.appBarVisibility = appBarVisibility;
  this.floatingActionButtonVisibility = floatingActionButtonVisibility;
  this.bottomNavigationBarVisibility = bottomNavigationBarVisibility;
  this.nestedAppBarVisibility = nestedAppBarVisibility;
  this.drawerVisibility = drawerVisibility;
  this.backgroundType = backgroundType;
  this.floatingActionButton = floatingActionButton;
  this.fabLocation = floatingActionButtonLocation;
  this.appBar = appBar;
  this.drawer = drawer;
  this.bottomNavigationBar = bottomNavigationBar;
  this.gradientBackgroundColors = gradientBackgroundColors;
  this.backgroundColor = backgroundColor;
}