master #81
@ -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,
|
||||
|
@ -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,
|
||||
),
|
||||
);
|
||||
|
@ -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,
|
||||
),
|
||||
);
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user