initial commit
This commit is contained in:
24
lib/widgets/drawer.dart
Normal file
24
lib/widgets/drawer.dart
Normal file
@@ -0,0 +1,24 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:prod/widgets/simpleListTile.dart';
|
||||
|
||||
class ProdDrawer extends StatelessWidget {
|
||||
const ProdDrawer({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Drawer(
|
||||
child: ListView(
|
||||
children: [
|
||||
ListTile(
|
||||
leading: Icon(Icons.arrow_back),
|
||||
title: Text("Back"),
|
||||
onTap: () => Navigator.pop(context),
|
||||
),
|
||||
Divider(),
|
||||
SListTile(Icons.backup_table, "Editors", "/editors"),
|
||||
SListTile(Icons.settings, "Settings", "/settings"),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user