EaseTabBar constructor

const EaseTabBar({
  1. Key? key,
  2. required Widget child,
  3. Color background = Colors.blue,
  4. required List<IconButton> iconButtons,
  5. Color colorMenuIconActivated = Colors.blue,
  6. Color colorMenuIconDefault = Colors.white,
  7. Color backgroundMenuIconActivated = Colors.white,
  8. Color backgroundMenuIconDefault = Colors.blue,
})

Implementation

const EaseTabBar(
    {Key? key,
    required this.child,
    this.background = Colors.blue,
    required this.iconButtons,
    this.colorMenuIconActivated = Colors.blue,
    this.colorMenuIconDefault = Colors.white,
    this.backgroundMenuIconActivated = Colors.white,
    this.backgroundMenuIconDefault = Colors.blue})
    : assert(iconButtons.length > 1 && iconButtons.length % 2 == 0),
      super(key: key);