1import 'package:aidra_drive/core/ui/widgets/custom_slider.dart';
3import '/core/ui/widgets/custom_card.dart';
4import 'package:flutter/material.dart';
5import 'package:flutter_screenutil/flutter_screenutil.dart';
14 required this.onRetry,
20 Widget
build(BuildContext context) {
29 crossAxisAlignment: CrossAxisAlignment.start,
30 mainAxisSize: MainAxisSize.min,
33 'Oops! Something went wrong',
34 style: Theme.of(context).textTheme.displaySmall?.copyWith(
35 color: Theme.of(context).colorScheme.error,
40 'We encountered an issue while processing your request. Please retry.',
41 style: Theme.of(context).textTheme.bodySmall?.copyWith(),
47 width: MediaQuery.of(context).size.width,
48 margin: EdgeInsets.only(bottom: 15.sp),
49 decoration: BoxDecoration(
50 color: Theme.of(context).scaffoldBackgroundColor,
51 borderRadius: BorderRadius.circular(5),
56 style: Theme.of(context).textTheme.bodySmall,
style Text( '${ 'scheduling.reference'.tr()}:${collection.internalCode}', style:Theme.of(context).textTheme.bodySmall,)
style SizedBox(height:2.h)
style Column(crossAxisAlignment:CrossAxisAlignment.end, children:[Container(padding:EdgeInsets.symmetric(horizontal:8.w, vertical:4.h), decoration:BoxDecoration(color:ColorPalette.tiffanyBlue.withValues(alpha:0.1), borderRadius:BorderRadius.circular(12),), child:Text(collection.type ?? '', style:Theme.of(context).textTheme.bodySmall?.copyWith(color:ColorPalette.tiffanyBlue, fontWeight:FontWeight.bold,),),),],)