إصلاح توافق فلاتر مع Theme الجديد
This commit is contained in:
@@ -18,9 +18,6 @@ class DriversPendingPage extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
final cs = Theme.of(context).colorScheme;
|
||||
controller.getDriversPending();
|
||||
Log.print(
|
||||
': ${X.r(X.r(X.r(box.read(BoxName.jwt), cn), cC), cs).toString().split(AppInformation.addd)[0]}');
|
||||
|
||||
return Scaffold(
|
||||
backgroundColor: cs.surface,
|
||||
body: Column(
|
||||
@@ -29,12 +26,7 @@ class DriversPendingPage extends StatelessWidget {
|
||||
Expanded(
|
||||
child: GetBuilder<DriverController>(
|
||||
id: 'drivers',
|
||||
builder: (c) {
|
||||
if (c.isLoading) {
|
||||
return _buildLoadingState(cs);
|
||||
}
|
||||
|
||||
if (c.drivers.isEmpty) {
|
||||
builder: (c) { if (c.drivers.isEmpty) {
|
||||
return _buildEmptyState(cs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user