You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.3 KiB
Dart
56 lines
2.3 KiB
Dart
// import 'package:easy_localization/easy_localization.dart';
|
|
// import 'package:flutter/material.dart';
|
|
// import 'package:lottie/lottie.dart';
|
|
// import 'package:mohem_flutter_app/app_state/app_state.dart';
|
|
// import 'package:mohem_flutter_app/classes/colors.dart';
|
|
// import 'package:mohem_flutter_app/classes/date_uitl.dart';
|
|
// import 'package:mohem_flutter_app/classes/decorations_helper.dart';
|
|
// import 'package:mohem_flutter_app/classes/lottie_consts.dart';
|
|
// import 'package:mohem_flutter_app/extensions/string_extensions.dart';
|
|
// import 'package:mohem_flutter_app/generated/locale_keys.g.dart';
|
|
// import 'package:mohem_flutter_app/ui/disclosure/disclosure_provider.dart';
|
|
// import 'package:mohem_flutter_app/ui/disclosure/widgets/countdown_timer_detail_screen.dart';
|
|
//
|
|
//
|
|
// class DisclosureTimerCard extends StatelessWidget {
|
|
// final int timeToMarathon;
|
|
// final DisclosureProvider provider;
|
|
//
|
|
// const DisclosureTimerCard({
|
|
// Key? key,
|
|
// required this.provider,
|
|
// required this.timeToMarathon,
|
|
// }) : super(key: key);
|
|
//
|
|
// @override
|
|
// Widget build(BuildContext context) {
|
|
// return Container(
|
|
// width: double.infinity,
|
|
// decoration: MyDecorations.shadowDecoration,
|
|
// padding: const EdgeInsets.symmetric(vertical: 18, horizontal: 14),
|
|
// child: Column(
|
|
// children: <Widget>[
|
|
// Row(
|
|
// children: <Widget>[
|
|
// "${LocaleKeys.gameDate.tr()} ".toText16(color: MyColors.grey77Color),
|
|
// DateUtil.getMonthDayYearDateFormatted(DateTime.parse(provider.marathonDetailModel.startTime!)).toText16(color: MyColors.darkTextColor, isBold: true),
|
|
// ],
|
|
// ),
|
|
// Row(
|
|
// children: <Widget>[
|
|
// "${LocaleKeys.gameTime.tr()} ".toText16(color: MyColors.grey77Color),
|
|
// DateUtil.formatDateToTimeLang(DateTime.parse(provider.marathonDetailModel.startTime!), AppState().isArabic(context)).toText16(color: MyColors.darkTextColor, isBold: true),
|
|
// ],
|
|
// ),
|
|
// Lottie.asset(MyLottieConsts.hourGlassLottie, height: 200),
|
|
// DisclosureCountdownTimerForDetailScreen(
|
|
// // timeToMarathon: dummyTime,
|
|
// timeToMarathon: timeToMarathon,
|
|
// provider: provider,
|
|
// ),
|
|
// ],
|
|
// ),
|
|
// );
|
|
// }
|
|
// }
|