mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
18 lines
418 B
Dart
18 lines
418 B
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
class ActivityIndicatorPage extends StatelessWidget {
|
|
const ActivityIndicatorPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return const CupertinoPageScaffold(
|
|
navigationBar: CupertinoNavigationBar(
|
|
middle: Text('Activity Indicator'),
|
|
),
|
|
child: Center(
|
|
child: CupertinoActivityIndicator(),
|
|
),
|
|
);
|
|
}
|
|
}
|