feat: new ui changes
This commit is contained in:
@@ -21,7 +21,6 @@ class ChickenBasePage extends GetView<BaseLogic> {
|
||||
this.onSearchChanged,
|
||||
this.routes,
|
||||
this.routesWidget,
|
||||
this.widgets,
|
||||
this.child,
|
||||
this.scrollable = false,
|
||||
this.floatingActionButtonLocation,
|
||||
@@ -30,6 +29,7 @@ class ChickenBasePage extends GetView<BaseLogic> {
|
||||
this.backGroundWidget,
|
||||
this.isFullScreen = false,
|
||||
this.onPopScopTaped,
|
||||
this.onRefresh,
|
||||
});
|
||||
|
||||
//AppBar properties`
|
||||
@@ -48,10 +48,10 @@ class ChickenBasePage extends GetView<BaseLogic> {
|
||||
final VoidCallback? onSearchTap;
|
||||
final VoidCallback? onNewsTap;
|
||||
final VoidCallback? onNotificationTap;
|
||||
final RefreshCallback? onRefresh;
|
||||
|
||||
final List<String>? routes;
|
||||
final Widget? routesWidget;
|
||||
final List<Widget>? widgets;
|
||||
final Widget? child;
|
||||
final bool scrollable;
|
||||
|
||||
@@ -60,7 +60,7 @@ class ChickenBasePage extends GetView<BaseLogic> {
|
||||
final Widget? filteringWidget;
|
||||
final void Function(String?)? onSearchChanged;
|
||||
|
||||
final BackGroundWidget? backGroundWidget;
|
||||
final BoxDecoration? backGroundWidget;
|
||||
|
||||
void _onFilterTap() {
|
||||
if (hasFilter && filteringWidget != null) {
|
||||
@@ -82,13 +82,12 @@ class ChickenBasePage extends GetView<BaseLogic> {
|
||||
routes: routes,
|
||||
routesWidget: routesWidget,
|
||||
onPopScopTaped: onPopScopTaped,
|
||||
widgets: widgets,
|
||||
onRefresh: onRefresh,
|
||||
child: child,
|
||||
scrollable: scrollable,
|
||||
onSearchChanged: onSearchChanged,
|
||||
floatingActionButtonLocation: floatingActionButtonLocation,
|
||||
floatingActionButton: floatingActionButton,
|
||||
backGroundWidget: backGroundWidget ?? chickenBackground(),
|
||||
backGroundDecoration: backGroundWidget ?? chickenBackground(),
|
||||
appBar: isFullScreen
|
||||
? null
|
||||
: chickenAppBar(
|
||||
|
||||
Reference in New Issue
Block a user