hook up the add new tag page

This commit is contained in:
zontreck 2024-06-07 01:05:22 -07:00
parent 240502972e
commit 2bc99f6bd9
16 changed files with 96 additions and 46 deletions

View file

@ -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()
},
);
}
}