info_tren/lib/components/loading/loading_cupertino.dart

27 lines
690 B
Dart
Raw Permalink Normal View History

import 'package:flutter/cupertino.dart';
import 'package:info_tren/components/loading/loading.dart';
class LoadingCupertino extends LoadingCommon {
const LoadingCupertino({required super.text, super.key,});
@override
Widget build(BuildContext context) {
return Center(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.min,
children: [
2022-10-31 01:30:29 +01:00
const Padding(
padding: EdgeInsets.all(8.0),
child: CupertinoActivityIndicator(),
),
Padding(
padding: const EdgeInsets.all(8.0),
child: Text(text),
),
],
),
);
}
}