hook up the add new tag page
This commit is contained in:
parent
240502972e
commit
2bc99f6bd9
16 changed files with 96 additions and 46 deletions
|
@ -1,5 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:nbteditor/Editor.dart';
|
||||
import 'package:nbteditor/pages/AddPage.dart';
|
||||
|
||||
void main() {
|
||||
runApp(const MainApp());
|
||||
|
@ -12,7 +13,10 @@ class MainApp extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
theme: ThemeData.dark(),
|
||||
routes: {"/": (context) => const Editor()},
|
||||
routes: {
|
||||
"/": (context) => const Editor(),
|
||||
"/add": (context) => AddPage()
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue