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.
92 lines
3.1 KiB
Dart
92 lines
3.1 KiB
Dart
// import 'package:car_provider_app/views/subscriptions/sheet/degrage_package_sheet.dart';
|
|
// import 'package:flutter/material.dart';
|
|
// import 'package:mc_common_app/extensions/int_extensions.dart';
|
|
// import 'package:mc_common_app/extensions/string_extensions.dart';
|
|
// import 'package:mc_common_app/generated/locale_keys.g.dart';
|
|
// import 'package:mc_common_app/theme/colors.dart';
|
|
// import 'package:mc_common_app/widgets/bottom_sheet.dart';
|
|
// import 'package:mc_common_app/widgets/button/show_fill_button.dart';
|
|
// import 'package:mc_common_app/widgets/extensions/extensions_widget.dart';
|
|
// import 'package:easy_localization/easy_localization.dart';
|
|
//
|
|
// class SelectPackageSheet extends StatelessWidget {
|
|
// const SelectPackageSheet({super.key});
|
|
//
|
|
// @override
|
|
// Widget build(BuildContext context) {
|
|
// return Container(
|
|
// width: double.infinity,
|
|
// padding: const EdgeInsets.all(12),
|
|
// child: Column(
|
|
// crossAxisAlignment: CrossAxisAlignment.start,
|
|
// mainAxisAlignment: MainAxisAlignment.start,
|
|
// children: [
|
|
// LocaleKeys.whendoyouWanttoUpgrade.tr().toText(
|
|
// fontSize: 19,
|
|
// isBold: true,
|
|
// ),
|
|
// 12.height,
|
|
// showPackage(),
|
|
// 12.height,
|
|
// showPackage(),
|
|
// 12.height,
|
|
// ShowFillButton(
|
|
// title: LocaleKeys.upgradeVar.tr(),
|
|
// maxWidth: double.infinity,
|
|
// onPressed: () {
|
|
// showMyBottomSheet(context, child: const DegradePackageSheet());
|
|
// },
|
|
// ),
|
|
// 12.height,
|
|
// ],
|
|
// ),
|
|
// );
|
|
// }
|
|
//
|
|
// Widget showPackage() {
|
|
// return Row(
|
|
// crossAxisAlignment: CrossAxisAlignment.start,
|
|
// mainAxisAlignment: MainAxisAlignment.start,
|
|
// children: [
|
|
// Checkbox(
|
|
// value: false,
|
|
// onChanged: (v) {},
|
|
// ),
|
|
// Expanded(
|
|
// child: Column(
|
|
// crossAxisAlignment: CrossAxisAlignment.start,
|
|
// mainAxisAlignment: MainAxisAlignment.start,
|
|
// children: [
|
|
// LocaleKeys.nowVar.tr().toText(
|
|
// fontSize: 16,
|
|
// isBold: true,
|
|
// ),
|
|
// "Your subscription will upgrade now. Affecting from 23 January, 2024"
|
|
// .toText(
|
|
// fontSize: 12,
|
|
// color: MyColors.lightTextColor,
|
|
// ),
|
|
// 12.height,
|
|
// Row(
|
|
// mainAxisAlignment: MainAxisAlignment.start,
|
|
// crossAxisAlignment: CrossAxisAlignment.end,
|
|
// children: [
|
|
// "175".toText(
|
|
// fontSize: 26,
|
|
// isBold: true,
|
|
// ),
|
|
// 2.width,
|
|
// LocaleKeys.sar.tr().toText(
|
|
// color: MyColors.lightTextColor,
|
|
// fontSize: 16,
|
|
// ),
|
|
// ],
|
|
// )
|
|
// ],
|
|
// ),
|
|
// )
|
|
// ],
|
|
// ).toContainer(isShadowEnabled: true);
|
|
// }
|
|
// }
|