Start writing the web app
All checks were successful
ci/woodpecker/push/build Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@posteo.com>
This commit was merged in pull request #5.
This commit is contained in:
2026-05-19 13:37:41 +02:00
parent 0c5b657a2f
commit 09df205fdb
76 changed files with 1961 additions and 117 deletions

View File

@@ -0,0 +1,31 @@
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:softplayer_web/features/test/application/test_controller.dart';
class DashboardPage extends ConsumerStatefulWidget {
const DashboardPage({super.key});
@override
ConsumerState<DashboardPage> createState() => _DashboardPage();
}
class _DashboardPage extends ConsumerState<DashboardPage> {
bool debug = false;
@override
Widget build(BuildContext context) {
final ctrl = ref.read(pingControllerProvider.notifier);
log("test");
return Container(
color: Colors.black87,
child: ElevatedButton(
onPressed: () {
ctrl.ping();
},
child: Text("pong"),
),
);
}
}