You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
531 B
23 lines
531 B
|
10 months ago
|
import 'package:flutter/material.dart';
|
||
|
|
|
||
|
|
class DemarrerCaissePage extends StatelessWidget {
|
||
|
|
const DemarrerCaissePage({super.key});
|
||
|
|
|
||
|
|
@override
|
||
|
|
Widget build(BuildContext context) {
|
||
|
|
return Scaffold(
|
||
|
|
appBar: AppBar(
|
||
|
|
title: const Text('Accueil'),
|
||
|
|
),
|
||
|
|
body: Center(
|
||
|
|
child: ElevatedButton(
|
||
|
|
onPressed: () {
|
||
|
|
// Mettre à jour la valeur de isRegisterOpen dans le HomeController
|
||
|
|
},
|
||
|
|
child: const Text('Démarrer la caisse'),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|