|
|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
|
import 'package:easy_localization/easy_localization.dart' as lclize;
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter_svg/svg.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/app_state/app_state.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/classes/colors.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/config/routes.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/extensions/int_extensions.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/extensions/int_extensions.dart' ;
|
|
|
|
|
import 'package:mohem_flutter_app/extensions/string_extensions.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/extensions/widget_extensions.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/generated/locale_keys.g.dart';
|
|
|
|
|
@ -14,6 +14,7 @@ import 'package:mohem_flutter_app/classes/utils.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/widgets/app_bar_widget.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/widgets/button/default_button.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
import 'package:intl/src/intl/text_direction.dart' as intl;
|
|
|
|
|
|
|
|
|
|
class EtqanOvrHome extends StatefulWidget {
|
|
|
|
|
const EtqanOvrHome({Key? key}) : super(key: key);
|
|
|
|
|
@ -66,7 +67,7 @@ class _EtqanOvrHomeState extends State<EtqanOvrHome> {
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
(data.ticketNumber ?? "").toText14(isBold: true, color: MyColors.darkTextColor),
|
|
|
|
|
(data.createdDate?.split(" ")[0] ?? "").toText12(color: MyColors.grey70Color),
|
|
|
|
|
Directionality(textDirection: TextDirection.ltr, child: (data.createdDate ?? "").toText12(color: MyColors.grey70Color)),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
|