ToggleList constructor
const
ToggleList({
- Key? key,
- required List<
ToggleButtonModel> toggleButtons, - required void onChanged(),
- EdgeInsets? contentPadding,
- required int selectedIndex,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
Implementation
const ToggleList({
Key? key,
required this.toggleButtons,
required this.onChanged,
this.contentPadding,
required this.selectedIndex,
this.mainAxisAlignment = MainAxisAlignment.start,
this.crossAxisAlignment = CrossAxisAlignment.center,
}) : super(key: key);