AwesomeFilterWidget constructor
AwesomeFilterWidget({
- required CameraState state,
- Key? key,
- FilterListPosition filterListPosition = FilterListPosition.belowButton,
- EdgeInsets? filterListPadding,
- Widget? indicator,
- Widget? spacer = const SizedBox(height: 8),
- Curve animationCurve = Curves.easeInOut,
- Duration animationDuration = const Duration(milliseconds: 400),
Implementation
AwesomeFilterWidget({
required this.state,
super.key,
this.filterListPosition = FilterListPosition.belowButton,
this.filterListPadding,
Widget? indicator,
this.spacer = const SizedBox(height: 8),
this.animationCurve = Curves.easeInOut,
this.animationDuration = const Duration(milliseconds: 400),
}) : indicator = Builder(
builder: (context) => Container(
color: AwesomeThemeProvider.of(context)
.theme
.bottomActionsBackgroundColor,
padding: const EdgeInsets.symmetric(vertical: 8.0),
child: const Center(
child: SizedBox(
height: 6,
width: 6,
child: DecoratedBox(
decoration: BoxDecoration(
color: Colors.white,
shape: BoxShape.circle,
),
),
),
),
),
);