CupertinoTabBar constructor

const CupertinoTabBar(
  1. Color _backgroundColor,
  2. Color _foregroundColor,
  3. List<Widget> _widgets,
  4. Function _valueGetter,
  5. dynamic _onTap(
    1. int
    ),
  6. {Key key,
  7. bool useSeparators: false,
  8. double horizontalPadding: 10.0,
  9. double verticalPadding: 10.0,
  10. BorderRadius borderRadius: const BorderRadius.all(const Radius.circular(10.0)),
  11. Duration duration: const Duration(milliseconds: 250),
  12. bool expand: false}
)

Implementation

const CupertinoTabBar(
  this._backgroundColor,
  this._foregroundColor,
  this._widgets,
  this._valueGetter,
  this._onTap, {
  Key key,
  this.useSeparators: false,
  this.horizontalPadding: 10.0,
  this.verticalPadding: 10.0,
  this.borderRadius: const BorderRadius.all(const Radius.circular(10.0)),
  this.duration: const Duration(milliseconds: 250),
  this.expand: false,
}) : super(key: key);