CurvedNavBar constructor

CurvedNavBar({
  1. @required List<FABBottomAppBarItem>? appBarItems,
  2. @required List<Widget>? bodyItems,
  3. bool extendBody = true,
  4. CurvedActionBar? actionButton,
  5. Color? activeColor = Colors.black,
  6. Color? inActiveColor = Colors.black26,
  7. Color? navBarBackgroundColor = Colors.white,
  8. Widget? actionBarView,
})

Implementation

CurvedNavBar(
    {@required this.appBarItems,
    @required this.bodyItems,
    this.extendBody = true,
    this.actionButton,
    this.activeColor = Colors.black,
    this.inActiveColor = Colors.black26,
    this.navBarBackgroundColor = Colors.white,
    this.actionBarView}) {
  assert(this.appBarItems != null);
  assert(this.bodyItems != null);
  assert(this.appBarItems!.length == this.bodyItems!.length);
}