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 @override
AppBarComponent configure( AppBarComponent? configure(
{String? title, Widget? leading, List<Widget>? actions}) => {String? title, Widget? leading, List<Widget>? actions}) =>
CustomAppBar( CustomAppBar(
title: title ?? this.title, title: title ?? this.title,

View File

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

View File

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

View File

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