flcCameraOverlayButton function
Widget
flcCameraOverlayButton({
- IconData icon = Icons.camera,
- VoidCallback? onPressed,
- Object? heroTag,
Implementation
Widget flcCameraOverlayButton({
IconData icon = Icons.camera,
VoidCallback? onPressed,
Object? heroTag,
}) =>
Padding(
padding: const EdgeInsets.all(shutterButtonPadding),
child: SizedBox(
width: shutterButtonSize,
height: shutterButtonSize,
child: FloatingActionButton(
backgroundColor: Colors.white.withOpacity(0.5),
onPressed: onPressed,
heroTag: heroTag,
child: Icon(
icon,
size: shutterIconSize,
),
),
),
);