AppTabButton constructor

AppTabButton({
  1. Key? key,
  2. required bool isActive,
  3. required Function onPressed,
  4. required String? tabName,
  5. required Color mainColor,
  6. bool isNew = false,
})

Implementation

AppTabButton(
    {Key? key,
    required this.isActive,
    required this.onPressed,
    required this.tabName,
    required this.mainColor,
    this.isNew = false})
    : super(key: key);