62 lines
2.0 KiB
Dart
62 lines
2.0 KiB
Dart
import 'package:flutter/cupertino.dart';
|
|
import 'package:lamiter/Component/CupertinoForm/cupertino_form_row.dart';
|
|
import 'package:lamiter/Component/CupertinoForm/cupertino_form_section.dart';
|
|
import 'package:lamiter/Page/Service/course_page.dart';
|
|
import 'package:lamiter/Page/Service/product_page.dart';
|
|
import 'package:lamiter/Page/Service/treatment_page.dart';
|
|
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
|
|
|
class UserMallPage extends StatelessWidget {
|
|
const UserMallPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.max,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
MyCupertinoFormSection(
|
|
title: AppLocalizations.of(context).service_item,
|
|
items: [
|
|
MyCupertinoFormRow(
|
|
title: AppLocalizations.of(context).product,
|
|
onTap: () {
|
|
Navigator.push(
|
|
context,
|
|
CupertinoPageRoute(
|
|
builder: (context) => const ProductPage(),
|
|
),
|
|
);
|
|
},
|
|
),
|
|
MyCupertinoFormRow(
|
|
title: AppLocalizations.of(context).treatment,
|
|
onTap: () {
|
|
Navigator.push(
|
|
context,
|
|
CupertinoPageRoute(
|
|
builder: (context) => const TreatmentPage(),
|
|
),
|
|
);
|
|
},
|
|
),
|
|
MyCupertinoFormRow(
|
|
title: AppLocalizations.of(context).course,
|
|
onTap: () {
|
|
Navigator.push(
|
|
context,
|
|
CupertinoPageRoute(
|
|
builder: (context) => const CoursePage(),
|
|
),
|
|
);
|
|
},
|
|
),
|
|
],
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|