+ hive
+ LibraryPage + StoryPage + logo + font
This commit is contained in:
45
FRONT/lib/screens/libraryPage.dart
Normal file
45
FRONT/lib/screens/libraryPage.dart
Normal file
@@ -0,0 +1,45 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:story/utils/iconCard.dart';
|
||||
|
||||
|
||||
class LibraryPage extends StatelessWidget {
|
||||
const LibraryPage({super.key}) ;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('Page suivante'),
|
||||
),
|
||||
body: Column(
|
||||
children: [
|
||||
Expanded(
|
||||
child: GridView.count(
|
||||
crossAxisCount: 2,
|
||||
shrinkWrap: true,
|
||||
padding: EdgeInsets.all(20),
|
||||
children: [
|
||||
IconCard(icon: Icons.home, label: 'Accueil'),
|
||||
IconCard(icon: Icons.settings, label: 'Paramètres'),
|
||||
IconCard(icon: Icons.camera, label: 'Appareil photo'),
|
||||
IconCard(icon: Icons.person, label: 'Profil'),
|
||||
IconCard(icon: Icons.home, label: 'Accueil'),
|
||||
IconCard(icon: Icons.settings, label: 'Paramètres'),
|
||||
IconCard(icon: Icons.camera, label: 'Appareil photo'),
|
||||
IconCard(icon: Icons.person, label: 'Profil'),
|
||||
IconCard(icon: Icons.home, label: 'Accueil'),
|
||||
IconCard(icon: Icons.settings, label: 'Paramètres'),
|
||||
IconCard(icon: Icons.camera, label: 'Appareil photo'),
|
||||
IconCard(icon: Icons.person, label: 'Profil'),
|
||||
IconCard(icon: Icons.home, label: 'Accueil'),
|
||||
IconCard(icon: Icons.settings, label: 'Paramètres'),
|
||||
IconCard(icon: Icons.camera, label: 'Appareil photo'),
|
||||
IconCard(icon: Icons.person, label: 'Profil'),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user