2024-02-17 20:32:01 +05:30
|
|
|
import "package:flutter/material.dart";
|
|
|
|
|
|
|
|
|
|
class SmallLoadingSpinner extends StatelessWidget {
|
2026-09-26 22:45:38 +03:00
|
|
|
const SmallLoadingSpinner({super.key});
|
2024-02-17 20:32:01 +05:30
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
2026-09-26 22:45:38 +03:00
|
|
|
return SizedBox(
|
2024-02-17 20:32:01 +05:30
|
|
|
width: 20,
|
|
|
|
|
height: 20,
|
|
|
|
|
child: Center(
|
|
|
|
|
child: CircularProgressIndicator(
|
|
|
|
|
strokeWidth: 2,
|
2026-09-26 22:45:38 +03:00
|
|
|
color: Theme.of(context).colorScheme.onPrimary,
|
2024-02-17 20:32:01 +05:30
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|