AwesomeFilterButton constructor
AwesomeFilterButton({
- Key? key,
- required CameraState state,
- AwesomeTheme? theme,
- Widget iconBuilder()?,
- void onFilterTap()?,
Implementation
AwesomeFilterButton({
super.key,
required this.state,
this.theme,
Widget Function()? iconBuilder,
final void Function()? onFilterTap,
}) : iconBuilder = iconBuilder ??
(() {
return AwesomeCircleWidget.icon(
icon: Icons.filter_rounded,
theme: theme,
);
}),
onFilterTap = onFilterTap ?? (() => state.toggleFilterSelector());