Restructure some things
This commit is contained in:
parent
99f15fda36
commit
d4bbca6405
9 changed files with 174 additions and 81 deletions
21
lib/tests/tester.dart
Normal file
21
lib/tests/tester.dart
Normal file
|
@ -0,0 +1,21 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:libacflutter/tests/alert.dart';
|
||||
import 'package:libacflutter/tests/prompt.dart';
|
||||
|
||||
class WidgetTest extends StatelessWidget {
|
||||
String route;
|
||||
|
||||
WidgetTest({super.key, required this.route});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
theme: ThemeData.dark(),
|
||||
routes: {
|
||||
"/testprompt": (context) => TestPrompt(),
|
||||
"/testalert0": (context) => TestAlert()
|
||||
},
|
||||
home: TestPrompt(),
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue