build abstract method

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

Called when the tab item is build.

  • context BuildContext instance;
  • index tab index;
  • active tab state;

Implementation

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