mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-24 09:38:25 +00:00
[flutter]: add missing commit files
This commit is contained in:
parent
b1668bfe6c
commit
b7bac5d1be
4 changed files with 4 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ abstract class HomeStackContext<T, S> with NavigationItem {
|
|||
@override
|
||||
Widget get naviTitle;
|
||||
|
||||
Widget? Function(BuildContext context) get buildNavigationActions;
|
||||
Widget? Function(BuildContext context) get buildNaviAction;
|
||||
|
||||
@override
|
||||
String get identifier;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ class BlankStackContext extends HomeStackContext {
|
|||
Widget get naviTitle => const FlowyText.medium('Blank page', fontSize: 12);
|
||||
|
||||
@override
|
||||
Widget? Function(BuildContext context) get buildNavigationActions => (_) => null;
|
||||
Widget? Function(BuildContext context) get buildNaviAction => (_) => null;
|
||||
|
||||
@override
|
||||
HomeStackType get type => HomeStackType.blank;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class TrashStackContext extends HomeStackContext {
|
|||
Widget get naviTitle => const FlowyText.medium('Trash', fontSize: 12);
|
||||
|
||||
@override
|
||||
Widget? Function(BuildContext context) get buildNavigationActions => (_) => null;
|
||||
Widget? Function(BuildContext context) get buildNaviAction => (_) => null;
|
||||
|
||||
@override
|
||||
HomeStackType get type => HomeStackType.trash;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class HomeTopBar extends StatelessWidget {
|
|||
value: Provider.of<HomeStackNotifier>(context, listen: false),
|
||||
child: Consumer(
|
||||
builder: (BuildContext context, HomeStackNotifier notifier, Widget? child) {
|
||||
return notifier.stackContext.buildNavigationActions(context) ?? const SizedBox();
|
||||
return notifier.stackContext.buildNaviAction(context) ?? const SizedBox();
|
||||
},
|
||||
),
|
||||
) // _renderMoreButton(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue