refactor(bloc_layout): update example with new app bar entity (#90)

This commit is contained in:
AN12345 2022-12-12 12:36:40 -05:00
parent dd275460f6
commit cd2806b07b

View File

@ -18,7 +18,9 @@ class CustomAppBar extends AppBarComponent {
); );
@override @override
AppBarComponent configure({String? title}) => CustomAppBar( AppBarComponent configure(
{String? title, Widget? leading, List<Widget>? actions}) =>
CustomAppBar(
title: title ?? this.title, title: title ?? this.title,
); );
} }