AdwViewSwitcherTab constructor
const
AdwViewSwitcherTab({
- Key? key,
- required ViewSwitcherData data,
- required ViewSwitcherPolicy policy,
- Color? badgeColor,
- bool isSelected = false,
- VoidCallback? onSelected,
- EdgeInsets? paddingIcon,
Implementation
const AdwViewSwitcherTab({
Key? key,
required this.data,
required this.policy,
this.badgeColor,
this.isSelected = false,
this.onSelected,
this.paddingIcon,
}) : super(key: key);