build abstract method

Widget build(
  1. BuildContext context,
  2. Widget child,
  3. int index,
  4. bool active,
)

Construct a new widget which represent the tab item with custom badge.

  • context BuildContext instance;
  • child the tab item Widget;
  • index index of the tab item;
  • active active state for the index;

Implementation

Widget build(BuildContext context, Widget child, int index, bool active);