إصلاح توافق فلاتر مع Theme الجديد
This commit is contained in:
Binary file not shown.
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"6c0baaebf70e0148f485f27d5616b3d3382da7
|
|||||||
|
|
||||||
_flutter.loader.load({
|
_flutter.loader.load({
|
||||||
serviceWorkerSettings: {
|
serviceWorkerSettings: {
|
||||||
serviceWorkerVersion: "1676594277" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
|
serviceWorkerVersion: "4190023422" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
+89413
-88276
File diff suppressed because one or more lines are too long
@@ -18,9 +18,6 @@ class DriversPendingPage extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final cs = Theme.of(context).colorScheme;
|
final cs = Theme.of(context).colorScheme;
|
||||||
controller.getDriversPending();
|
controller.getDriversPending();
|
||||||
Log.print(
|
|
||||||
': ${X.r(X.r(X.r(box.read(BoxName.jwt), cn), cC), cs).toString().split(AppInformation.addd)[0]}');
|
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: cs.surface,
|
backgroundColor: cs.surface,
|
||||||
body: Column(
|
body: Column(
|
||||||
@@ -29,12 +26,7 @@ class DriversPendingPage extends StatelessWidget {
|
|||||||
Expanded(
|
Expanded(
|
||||||
child: GetBuilder<DriverController>(
|
child: GetBuilder<DriverController>(
|
||||||
id: 'drivers',
|
id: 'drivers',
|
||||||
builder: (c) {
|
builder: (c) { if (c.drivers.isEmpty) {
|
||||||
if (c.isLoading) {
|
|
||||||
return _buildLoadingState(cs);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (c.drivers.isEmpty) {
|
|
||||||
return _buildEmptyState(cs);
|
return _buildEmptyState(cs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user