master #81
@ -18,7 +18,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,
|
||||||
@ -44,7 +44,7 @@ class CustomBottomBar extends BottomNavigationBarComponent {
|
|||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
BottomNavigationBarComponent configure(
|
BottomNavigationBarComponent? configure(
|
||||||
{void Function(BuildContext p1, int p2)? onTap,
|
{void Function(BuildContext p1, int p2)? onTap,
|
||||||
int currentIndex = 0}) =>
|
int currentIndex = 0}) =>
|
||||||
this;
|
this;
|
||||||
@ -58,7 +58,7 @@ class CustomLoadingWidget extends LoadingWidgetComponent {
|
|||||||
Center(child: CircularProgressIndicator(color: color));
|
Center(child: CircularProgressIndicator(color: color));
|
||||||
|
|
||||||
@override
|
@override
|
||||||
LoadingWidgetComponent configure({Color? color}) => CustomLoadingWidget(
|
LoadingWidgetComponent? configure({Color? color}) => CustomLoadingWidget(
|
||||||
color: color ?? this.color,
|
color: color ?? this.color,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -73,7 +73,7 @@ class CustomErrorWidget extends ErrorWidgetComponent {
|
|||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
ErrorWidgetComponent configure({String? error}) => CustomErrorWidget(
|
ErrorWidgetComponent? configure({String? error}) => CustomErrorWidget(
|
||||||
error: error ?? this.error,
|
error: error ?? this.error,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user