flcCameraOverlayButton function

Widget flcCameraOverlayButton({
  1. IconData icon = Icons.camera,
  2. VoidCallback? onPressed,
  3. 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,
          ),
        ),
      ),
    );