veilidchat/lib/components/chat.dart

29 lines
776 B
Dart
Raw Normal View History

2023-01-09 22:50:34 -05:00
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
2023-07-23 23:13:21 -04:00
class Chat extends ConsumerWidget {
const Chat({super.key});
2023-01-09 22:50:34 -05:00
@override
Widget build(BuildContext context, WidgetRef ref) {
return Scaffold(
appBar: AppBar(title: const Text("Chat")),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
const Text("Home Page"),
2023-01-10 21:04:18 -05:00
// ElevatedButton(
// onPressed: () {
// ref.watch(authNotifierProvider.notifier).logout();
// },
// child: const Text("Logout"),
// ),
2023-01-09 22:50:34 -05:00
],
),
),
);
}
}