93 lines
2.7 KiB
Dart
93 lines
2.7 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:gap/gap.dart';
|
|
import 'package:wyatt_ui_components/wyatt_ui_components.dart';
|
|
import 'package:wyatt_ui_kit/wyatt_ui_kit.dart';
|
|
import 'package:wyatt_ui_kit_example/demo_page.dart';
|
|
|
|
class Bars extends DemoPage {
|
|
const Bars({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) => ListView(
|
|
cacheExtent: 1000,
|
|
children: [
|
|
const Gap(20),
|
|
TopAppBar(
|
|
leading: Padding(
|
|
padding: const EdgeInsets.all(8),
|
|
child: Image.asset('assets/images/studio_logo.png'),
|
|
),
|
|
title: const TextWrapper(
|
|
'Wyatt Studio',
|
|
gradientColors: MultiColor(
|
|
[
|
|
Color.fromRGBO(57, 167, 254, 1),
|
|
Color.fromRGBO(71, 94, 241, 1),
|
|
],
|
|
),
|
|
),
|
|
actions: [
|
|
IconButton(onPressed: () {}, icon: const Icon(Icons.menu))
|
|
],
|
|
),
|
|
const Gap(20),
|
|
TopAppBar(
|
|
leading: Padding(
|
|
padding: const EdgeInsets.all(8),
|
|
child: Image.asset('assets/images/studio_logo.png'),
|
|
),
|
|
title: const TextWrapper(
|
|
'Wyatt Studio',
|
|
gradientColors: MultiColor(
|
|
[
|
|
Color.fromRGBO(57, 167, 254, 1),
|
|
Color.fromRGBO(71, 94, 241, 1),
|
|
],
|
|
),
|
|
),
|
|
expandedWidget: const [
|
|
ListTile(
|
|
title: Text('Votre programme'),
|
|
),
|
|
ListTile(
|
|
title: Text('Votre programme'),
|
|
),
|
|
ListTile(
|
|
title: Text('Votre programme'),
|
|
)
|
|
],
|
|
actions: [
|
|
IconButton(
|
|
onPressed: () {},
|
|
icon: const Icon(Icons.clear),
|
|
)
|
|
],
|
|
),
|
|
const Gap(20),
|
|
TopNavigationBar(
|
|
leading: Padding(
|
|
padding: const EdgeInsets.symmetric(horizontal: 20),
|
|
child: Image.asset('assets/images/studio_long_logo.png'),
|
|
),
|
|
actions: const [
|
|
Padding(
|
|
padding: EdgeInsets.symmetric(horizontal: 20, vertical: 25),
|
|
child: FlatButton(
|
|
label: TextWrapper('Estimer mon projet'),
|
|
),
|
|
),
|
|
],
|
|
navigationItems: const [
|
|
TextWrapper('ACCUEIL'),
|
|
TextWrapper('VOTRE PROGRAMME'),
|
|
TextWrapper('LE STUDIO'),
|
|
TextWrapper('SAVOIR FAIRE')
|
|
],
|
|
),
|
|
],
|
|
);
|
|
|
|
@override
|
|
String get title => 'Bars';
|
|
}
|