subfolder for breadcrumb page
correct title
This commit is contained in:
28
app/lib/utils/disk_info_page.dart
Normal file
28
app/lib/utils/disk_info_page.dart
Normal file
@@ -0,0 +1,28 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '../breadcrumb_controller.dart';
|
||||
|
||||
class DiskInfoPage extends StatefulWidget {
|
||||
const DiskInfoPage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<DiskInfoPage> createState() => _DiskInfoPageState();
|
||||
}
|
||||
|
||||
class _DiskInfoPageState extends State<DiskInfoPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Column(
|
||||
children: [
|
||||
const Text("Mysupercool page"),
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Provider.of<BreadCrumbController>(context, listen: false)
|
||||
.pushPage(const Text("your smart infos..."), "S.M.A.R.T");
|
||||
},
|
||||
child: const Text("Click me"))
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user