CupertinoTabBar constructor
const
CupertinoTabBar(
- Color _backgroundColor,
- Color _foregroundColor,
- List<
Widget> _widgets, - Function _valueGetter,
- dynamic _onTap( ),
- {Key? key,
- bool useSeparators = false,
- bool useShadow = true,
- double innerHorizontalPadding = 10.0,
- double innerVerticalPadding = 10.0,
- BorderRadius borderRadius = const BorderRadius.all(const Radius.circular(10.0)),
- Curve curve = Curves.linearToEaseOut,
- Duration duration = const Duration(milliseconds: 350),
- bool allowExpand = false,
- bool allowScrollable = false,
- bool fittedWhenScrollable = false,
- bool animateWhenScrollable = true,
- bool animateUntilScrolled = true,
- double outerHorizontalPadding = 10.0,
- double outerVerticalPadding = 0.0}
Implementation
const CupertinoTabBar(
this._backgroundColor,
this._foregroundColor,
this._widgets,
this._valueGetter,
this._onTap, {
Key? key,
this.useSeparators: false,
this.useShadow: true,
this.innerHorizontalPadding: 10.0,
this.innerVerticalPadding: 10.0,
this.borderRadius: const BorderRadius.all(const Radius.circular(10.0)),
this.curve: Curves.linearToEaseOut,
this.duration: const Duration(milliseconds: 350),
this.allowExpand: false,
this.allowScrollable: false,
this.fittedWhenScrollable: false,
this.animateWhenScrollable: true,
this.animateUntilScrolled: true,
this.outerHorizontalPadding: 10.0,
this.outerVerticalPadding: 0.0,
}) : super(key: key);