cvak/lib/okna/domu.dart

28 lines
736 B
Dart
Raw Normal View History

2022-11-30 16:26:40 +01:00
import 'package:cvak/okna/login.dart';
import 'package:flutter/material.dart';
class DomovskaObrazovka extends StatefulWidget {
const DomovskaObrazovka({super.key});
@override
State<DomovskaObrazovka> createState() => _DomovskaObrazovkaState();
}
class _DomovskaObrazovkaState extends State<DomovskaObrazovka> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SizedBox(
child: Column(children: [
TextButton(
onPressed: (() => Navigator.of(context).push(
MaterialPageRoute(builder: (c) => const LoginStranka()))),
child: const Text("Přihlásit"))
]),
),
),
);
}
}