init method

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 })

Implementation

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,
}) {
  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;
}