mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-07 17:33:12 +00:00
38 lines
937 B
Dart
38 lines
937 B
Dart
part of 'users.dart';
|
|
|
|
class _NoUsers extends StatelessWidget {
|
|
const _NoUsers({Key key, @required this.text})
|
|
: assert(text != null),
|
|
super(key: key);
|
|
|
|
final String text;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Padding(
|
|
padding: const EdgeInsets.symmetric(horizontal: 20),
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
Icon(BrandIcons.users, size: 50, color: BrandColors.grey7),
|
|
SizedBox(height: 20),
|
|
BrandText.h2(
|
|
'Здесь пока никого',
|
|
style: TextStyle(
|
|
color: BrandColors.grey7,
|
|
),
|
|
),
|
|
SizedBox(height: 10),
|
|
BrandText.medium(
|
|
text,
|
|
textAlign: TextAlign.center,
|
|
style: TextStyle(
|
|
color: BrandColors.grey7,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|