26 lines
490 B
Dart
26 lines
490 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
|
|
class RolesEmptyState extends StatelessWidget {
|
|
final String label;
|
|
|
|
const RolesEmptyState({
|
|
super.key,
|
|
required this.label,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final theme = Theme.of(context);
|
|
return Center(
|
|
child: Padding(
|
|
padding: const EdgeInsets.symmetric(vertical: 32),
|
|
child: Text(
|
|
label,
|
|
style: theme.textTheme.bodyMedium,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|