33 lines
770 B
Dart
33 lines
770 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class HomePage extends StatefulWidget {
|
||
|
const HomePage({super.key});
|
||
|
@override
|
||
|
State<HomePage> createState() => _HomePageState();
|
||
|
}
|
||
|
|
||
|
class _HomePageState extends State<HomePage> {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Scaffold(
|
||
|
appBar: AppBar(
|
||
|
title: const Text("Outbag"),
|
||
|
),
|
||
|
body: Center(
|
||
|
child: Column(
|
||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||
|
children: <Widget>[],
|
||
|
),
|
||
|
),
|
||
|
floatingActionButton: FloatingActionButton.extended(
|
||
|
label: const Text('New'),
|
||
|
icon: const Icon(Icons.add),
|
||
|
onPressed: ()=>{
|
||
|
// TODO: create new room
|
||
|
},
|
||
|
tooltip: 'Create Room',
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|