oc-front/lib/pages/datacenter.dart

22 lines
905 B
Dart

import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:oc_front/pages/abstract_page.dart';
class DatacenterFactory implements AbstractFactory {
static GlobalKey<DataCenterPageWidgetState> key = GlobalKey<DataCenterPageWidgetState>();
@override bool searchFill() { return false; }
@override Widget factory(GoRouterState state, List<String> args) { return DataCenterPageWidget(); }
@override void search(BuildContext context) { }
}
class DataCenterPageWidget extends StatefulWidget {
DataCenterPageWidget () : super(key: DatacenterFactory.key);
@override DataCenterPageWidgetState createState() => DataCenterPageWidgetState();
static Widget factory() { return DataCenterPageWidget(); }
}
class DataCenterPageWidgetState extends State<DataCenterPageWidget> {
@override Widget build(BuildContext context) {
return Column( children: []);
}
}