Flutter web App home page, App Bar, Tile Grid & Tiles added

This commit is contained in:
2024-03-24 15:01:28 +02:00
parent 2242faef8a
commit e877072c7d
46 changed files with 166 additions and 23 deletions

View File

@@ -0,0 +1,24 @@
import 'package:flutter/material.dart';
class MyAppBar extends StatelessWidget {
final String barTitle;
const MyAppBar({super.key, required this.barTitle});
@override
Widget build(BuildContext context) {
return AppBar(
backgroundColor: Colors.blueAccent,
elevation: 8,
shadowColor: Colors.black,
title: Text(
barTitle,
style: const TextStyle(
fontWeight: FontWeight.normal,
color: Colors.black,
),
),
centerTitle: true,
);
}
}