Le menu de la page principale après s'être authentifié est ok

This commit is contained in:
DahoudG
2024-08-27 18:53:20 +00:00
parent e233f9f392
commit c653098560
16 changed files with 478 additions and 48 deletions

View File

@@ -0,0 +1,30 @@
import 'package:flutter/material.dart';
class CustomAppBar extends StatelessWidget implements PreferredSizeWidget {
final String title;
final List<Widget> actions;
const CustomAppBar({
Key? key,
required this.title,
this.actions = const [],
}) : super(key: key);
@override
Widget build(BuildContext context) {
return AppBar(
backgroundColor: Colors.black,
title: Text(
title,
style: const TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
),
),
actions: actions,
);
}
@override
Size get preferredSize => const Size.fromHeight(56.0);
}