mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-28 17:19:31 -05:00
36 lines
959 B
Dart
36 lines
959 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
//XXX should rename this
|
||
|
class NoContactWidget extends StatelessWidget {
|
||
|
const NoContactWidget({super.key});
|
||
|
|
||
|
@override
|
||
|
// ignore: prefer_expression_function_bodies
|
||
|
Widget build(
|
||
|
BuildContext context,
|
||
|
) =>
|
||
|
Container(
|
||
|
width: double.infinity,
|
||
|
height: double.infinity,
|
||
|
decoration: BoxDecoration(
|
||
|
color: Theme.of(context).primaryColor,
|
||
|
),
|
||
|
child: Column(
|
||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||
|
children: [
|
||
|
Icon(
|
||
|
Icons.emoji_people_outlined,
|
||
|
color: Theme.of(context).disabledColor,
|
||
|
size: 48,
|
||
|
),
|
||
|
Text(
|
||
|
'Choose A Conversation To Chat',
|
||
|
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
|
||
|
color: Theme.of(context).disabledColor,
|
||
|
),
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
);
|
||
|
}
|