master #81
@ -13,6 +13,6 @@ class CustomAppBar extends AppBarComponent with $CustomAppBarCWMixin {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) => AppBar(
|
Widget build(BuildContext context) => AppBar(
|
||||||
title: Text(title ?? ''),
|
title: Text(title?.text ?? ''),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ class AppBarLayout extends Layout {
|
|||||||
appBar: PreferredSize(
|
appBar: PreferredSize(
|
||||||
preferredSize: const Size.fromHeight(60),
|
preferredSize: const Size.fromHeight(60),
|
||||||
child: context.components.appBar?.copyWith(
|
child: context.components.appBar?.copyWith(
|
||||||
title: title,
|
title: title.wrap(),
|
||||||
leading: leading,
|
leading: leading,
|
||||||
actions: actions,
|
actions: actions,
|
||||||
) ??
|
) ??
|
||||||
|
@ -38,7 +38,7 @@ class FrameLayout extends Layout {
|
|||||||
appBar: PreferredSize(
|
appBar: PreferredSize(
|
||||||
preferredSize: const Size.fromHeight(60),
|
preferredSize: const Size.fromHeight(60),
|
||||||
child: context.components.appBar?.copyWith(
|
child: context.components.appBar?.copyWith(
|
||||||
title: title,
|
title: title.wrap(),
|
||||||
leading: leading,
|
leading: leading,
|
||||||
actions: actions,
|
actions: actions,
|
||||||
) ??
|
) ??
|
||||||
|
Loading…
x
Reference in New Issue
Block a user