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.
46 lines
1.3 KiB
Dart
46 lines
1.3 KiB
Dart
import 'package:car_provider_app/views/subscriptions/widget/subscriptions_card.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:mc_common_app/extensions/int_extensions.dart';
|
|
import 'package:mc_common_app/theme/colors.dart';
|
|
import 'package:mc_common_app/widgets/common_widgets/app_bar.dart';
|
|
import 'package:mc_common_app/widgets/dropdown/dropdow_field.dart';
|
|
import 'package:mc_common_app/widgets/tab/menu_tabs.dart';
|
|
|
|
class SubscriptionsPage extends StatelessWidget {
|
|
const SubscriptionsPage({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: const CustomAppBar(
|
|
title: "Subscriptions",
|
|
),
|
|
body: SizedBox(
|
|
width: double.infinity,
|
|
height: double.infinity,
|
|
child: Column(
|
|
children: [
|
|
21.height,
|
|
MenuTabs(
|
|
0,
|
|
[
|
|
DropValue(0, "1 Month", ""),
|
|
DropValue(1, "2 Month", ""),
|
|
DropValue(2, "3 Month", ""),
|
|
],
|
|
selectedColor: MyColors.primaryColor,
|
|
onSelect: (DropValue selectedValue) {},
|
|
),
|
|
21.height,
|
|
SubscriptionsCard(
|
|
isSubscribed: true,
|
|
),
|
|
21.height,
|
|
SubscriptionsCard()
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|