mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
28 lines
639 B
Dart
28 lines
639 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:nc_photos/widget/app_intermediate_circular_progress_indicator.dart';
|
|
|
|
class ProcessingDialog extends StatelessWidget {
|
|
const ProcessingDialog({
|
|
super.key,
|
|
required this.text,
|
|
});
|
|
|
|
@override
|
|
build(BuildContext context) {
|
|
return PopScope(
|
|
canPop: false,
|
|
child: AlertDialog(
|
|
content: Row(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
const AppIntermediateCircularProgressIndicator(),
|
|
const SizedBox(width: 24),
|
|
Text(text),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
|
|
final String text;
|
|
}
|