|
|
|
@ -13,6 +13,7 @@ import 'package:test_sa/new_views/app_style/app_color.dart';
|
|
|
|
import 'package:test_sa/new_views/common_widgets/app_filled_button.dart';
|
|
|
|
import 'package:test_sa/new_views/common_widgets/app_filled_button.dart';
|
|
|
|
import 'package:test_sa/new_views/common_widgets/default_app_bar.dart';
|
|
|
|
import 'package:test_sa/new_views/common_widgets/default_app_bar.dart';
|
|
|
|
import 'package:test_sa/views/widgets/loaders/app_loading.dart';
|
|
|
|
import 'package:test_sa/views/widgets/loaders/app_loading.dart';
|
|
|
|
|
|
|
|
import 'package:test_sa/views/widgets/loaders/no_data_found.dart';
|
|
|
|
|
|
|
|
|
|
|
|
import 'traf_request_model.dart';
|
|
|
|
import 'traf_request_model.dart';
|
|
|
|
|
|
|
|
|
|
|
|
@ -51,7 +52,9 @@ class _TrafRequestDetailPageState extends State<TrafRequestDetailPage> {
|
|
|
|
builder: (_, isLoading, __) {
|
|
|
|
builder: (_, isLoading, __) {
|
|
|
|
if (isLoading) return const ALoading();
|
|
|
|
if (isLoading) return const ALoading();
|
|
|
|
TrafRequestProvider trafProvider = Provider.of<TrafRequestProvider>(context, listen: false);
|
|
|
|
TrafRequestProvider trafProvider = Provider.of<TrafRequestProvider>(context, listen: false);
|
|
|
|
return Column(
|
|
|
|
return trafProvider.trafRequestDataModel == null
|
|
|
|
|
|
|
|
? const NoDataFound().center
|
|
|
|
|
|
|
|
: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
ListView(
|
|
|
|
ListView(
|
|
|
|
padding: const EdgeInsets.all(16),
|
|
|
|
padding: const EdgeInsets.all(16),
|
|
|
|
|