mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 23:42:00 +01:00
29 lines
649 B
Dart
29 lines
649 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class BoxedProgressIndicator extends StatelessWidget {
|
|
const BoxedProgressIndicator({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return const SizedBox(
|
|
height: 200,
|
|
child: Center(child: CircularProgressIndicator()),
|
|
);
|
|
}
|
|
}
|
|
|
|
class FormProgressIndicator extends StatelessWidget {
|
|
const FormProgressIndicator({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return const SizedBox(
|
|
height: 20,
|
|
width: 20,
|
|
child: CircularProgressIndicator(
|
|
valueColor: AlwaysStoppedAnimation<Color>(Colors.white),
|
|
),
|
|
);
|
|
}
|
|
}
|