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
4 changed files with 4 additions and 4 deletions
Showing only changes of commit e8172004a3 - Show all commits

View File

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

View File

@ -29,7 +29,7 @@ class CustomBottomNavigationBar extends BottomNavigationBarComponent {
);
@override
CustomBottomNavigationBar configure({
CustomBottomNavigationBar? configure({
void Function(BuildContext, int)? onTap,
int currentIndex = 0,
}) =>

View File

@ -11,6 +11,6 @@ class CustomErrorWidget extends ErrorWidgetComponent {
);
@override
ErrorWidgetComponent configure({String? error}) =>
ErrorWidgetComponent? configure({String? error}) =>
CustomErrorWidget(error: error ?? this.error);
}

View File

@ -12,7 +12,7 @@ class CustomLoadingWidget extends LoadingWidgetComponent {
);
@override
CustomLoadingWidget configure({Color? color}) => CustomLoadingWidget(
CustomLoadingWidget? configure({Color? color}) => CustomLoadingWidget(
color: color ?? this.color,
);
}