exit static method

Widget exit({
  1. required VoidCallback? onPressed,
  2. double? width,
})

Implementation

static Widget exit({
  required VoidCallback? onPressed,
  double? width,
}) {
  return CustomActionButton(
    text: 'Exit',
    onPressed: onPressed,
    underlinedChar: 'E',
    icon: Icons.exit_to_app,
    borderColor: Colors.grey[600],
    textColor: Colors.grey[600],
    width: width,
  );
}