2024-07-05 09:24:40 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:go_router/go_router.dart';
|
|
|
|
import 'package:oc_front/pages/abstract_page.dart';
|
|
|
|
|
|
|
|
class DatacenterFactory implements AbstractFactory {
|
2024-11-08 13:59:22 +01:00
|
|
|
@override GlobalKey getKey() { return key; }
|
|
|
|
@override void clear() { }
|
|
|
|
static GlobalKey<ComputePageWidgetState> key = GlobalKey<ComputePageWidgetState>();
|
2024-07-05 09:24:40 +02:00
|
|
|
@override bool searchFill() { return false; }
|
2024-11-08 13:59:22 +01:00
|
|
|
@override Widget factory(GoRouterState state, List<String> args) { return ComputePageWidget(); }
|
|
|
|
@override void search(BuildContext context, bool special) { }
|
2024-07-05 09:24:40 +02:00
|
|
|
}
|
|
|
|
|
2024-11-08 13:59:22 +01:00
|
|
|
class ComputePageWidget extends StatefulWidget {
|
|
|
|
ComputePageWidget () : super(key: DatacenterFactory.key);
|
|
|
|
@override ComputePageWidgetState createState() => ComputePageWidgetState();
|
2024-07-05 09:24:40 +02:00
|
|
|
|
2024-11-08 13:59:22 +01:00
|
|
|
static Widget factory() { return ComputePageWidget(); }
|
2024-07-05 09:24:40 +02:00
|
|
|
}
|
2024-11-08 13:59:22 +01:00
|
|
|
class ComputePageWidgetState extends State<ComputePageWidget> {
|
2024-07-05 09:24:40 +02:00
|
|
|
@override Widget build(BuildContext context) {
|
|
|
|
return Column( children: []);
|
|
|
|
}
|
|
|
|
}
|