master #81
@ -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,
|
||||||
|
@ -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,
|
||||||
}) =>
|
}) =>
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user