master #81
@ -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,
|
||||
|
@ -29,7 +29,7 @@ class CustomBottomNavigationBar extends BottomNavigationBarComponent {
|
||||
);
|
||||
|
||||
@override
|
||||
CustomBottomNavigationBar configure({
|
||||
CustomBottomNavigationBar? configure({
|
||||
void Function(BuildContext, int)? onTap,
|
||||
int currentIndex = 0,
|
||||
}) =>
|
||||
|
@ -11,6 +11,6 @@ class CustomErrorWidget extends ErrorWidgetComponent {
|
||||
);
|
||||
|
||||
@override
|
||||
ErrorWidgetComponent configure({String? error}) =>
|
||||
ErrorWidgetComponent? configure({String? error}) =>
|
||||
CustomErrorWidget(error: error ?? this.error);
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ class CustomLoadingWidget extends LoadingWidgetComponent {
|
||||
);
|
||||
|
||||
@override
|
||||
CustomLoadingWidget configure({Color? color}) => CustomLoadingWidget(
|
||||
CustomLoadingWidget? configure({Color? color}) => CustomLoadingWidget(
|
||||
color: color ?? this.color,
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user