buttonSpinner method

Widget buttonSpinner(
  1. BuildContext context
)

Displays a Processing Indicator.

Implementation

Widget buttonSpinner(BuildContext context) {
  var data = Theme.of(context);
  data = data.copyWith(
      colorScheme: data.colorScheme.copyWith(secondary: Colors.white70));
  return Theme(
    data: data,
    child: const SizedBox(
      width: 28,
      height: 28,
      child: CircularProgressIndicator(
        strokeWidth: 3,
      ),
    ),
  );
}