master #81

Closed
malo wants to merge 322 commits from master into feat/bloc_layout/new-package
4 changed files with 7 additions and 12 deletions
Showing only changes of commit 413589462b - Show all commits

View File

@ -35,7 +35,7 @@ class AppBarLayout extends Layout {
Widget build(BuildContext context) => Scaffold(
appBar: PreferredSize(
preferredSize: const Size.fromHeight(60),
child: context.components.appBar?.configure(
child: context.components.appBar?.copyWith(
title: title,
leading: leading,
actions: actions,

View File

@ -13,7 +13,7 @@ class BottomNavigationBarLayout extends Layout {
@override
Widget build(BuildContext context) => Scaffold(
body: body,
bottomNavigationBar: context.components.bottomNavigationBar?.configure(
bottomNavigationBar: context.components.bottomNavigationBar?.copyWith(
currentIndex: currentIndex ?? 0,
),
);

View File

@ -37,7 +37,7 @@ class FrameLayout extends Layout {
Widget build(BuildContext context) => Scaffold(
appBar: PreferredSize(
preferredSize: const Size.fromHeight(60),
child: context.components.appBar?.configure(
child: context.components.appBar?.copyWith(
title: title,
leading: leading,
actions: actions,
@ -45,7 +45,7 @@ class FrameLayout extends Layout {
const SizedBox.shrink(),
),
body: body,
bottomNavigationBar: context.components.bottomNavigationBar?.configure(
bottomNavigationBar: context.components.bottomNavigationBar?.copyWith(
currentIndex: currentIndex ?? 0,
),
);

View File

@ -4,28 +4,23 @@ repository: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages/src/branch/mas
version: 0.0.1
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: ">=2.17.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
wyatt_ui_components:
git:
url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages
path: packages/wyatt_ui_components
dev_dependencies:
flutter_test:
sdk: flutter
wyatt_analysis:
git:
url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages
ref: wyatt_analysis-v2.3.0
path: packages/wyatt_analysis
path: packages/wyatt_analysis