We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd2626e commit 787abf3Copy full SHA for 787abf3
1 file changed
lib/api/driver_components.dart
@@ -250,9 +250,16 @@ class DriverImageProvider extends StatelessWidget {
250
alignment: Alignment.topCenter,
251
child: CachedNetworkImage(
252
imageUrl: imageUrl,
253
- placeholder: (context, url) => const SizedBox(
254
- width: 120,
255
- child: LoadingIndicatorUtil(),
+ placeholder: (context, url) => Transform.scale(
+ scale: 0.25,
+ alignment: Alignment.topCenter,
256
+ child: SizedBox(
257
+ width: 120,
258
+ child: Padding(
259
+ padding: EdgeInsets.only(right: 20),
260
+ child: LoadingIndicatorUtil(),
261
+ ),
262
263
),
264
errorBuilder: (context, url, error) =>
265
const Icon(Icons.error_outlined),
0 commit comments