buildSpinner method

Widget buildSpinner(
  1. BuildContext context
)

Implementation

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