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