ui_components/feat/make-data-fields-nullable #93

Merged
hugo merged 7 commits from ui_components/feat/make-data-fields-nullable into master 2022-12-12 19:23:59 +00:00
Showing only changes of commit c6d8ca37fe - Show all commits

View File

@ -18,7 +18,7 @@ class CustomAppBar extends AppBarComponent {
);
@override
AppBarComponent configure(
AppBarComponent? configure(
{String? title, Widget? leading, List<Widget>? actions}) =>
CustomAppBar(
title: title ?? this.title,
@ -44,7 +44,7 @@ class CustomBottomBar extends BottomNavigationBarComponent {
);
@override
BottomNavigationBarComponent configure(
BottomNavigationBarComponent? configure(
{void Function(BuildContext p1, int p2)? onTap,
int currentIndex = 0}) =>
this;
@ -58,7 +58,7 @@ class CustomLoadingWidget extends LoadingWidgetComponent {
Center(child: CircularProgressIndicator(color: color));
@override
LoadingWidgetComponent configure({Color? color}) => CustomLoadingWidget(
LoadingWidgetComponent? configure({Color? color}) => CustomLoadingWidget(
color: color ?? this.color,
);
}
@ -73,7 +73,7 @@ class CustomErrorWidget extends ErrorWidgetComponent {
);
@override
ErrorWidgetComponent configure({String? error}) => CustomErrorWidget(
ErrorWidgetComponent? configure({String? error}) => CustomErrorWidget(
error: error ?? this.error,
);
}