123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- import 'package:auto_route/annotations.dart';
- import 'package:eitc_erm_dental_flutter/funcs.dart';
- import 'package:flutter/material.dart';
- import 'package:flutter_screenutil/flutter_screenutil.dart';
- ///常见问题页面
- @RoutePage(name: "faqsRoute")
- class FaqsPage extends StatelessWidget {
- const FaqsPage({super.key});
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- centerTitle: true,
- title: Text(getS().faqs),
- ),
- body: SafeArea(
- child: SingleChildScrollView(
- child: Padding(
- padding: EdgeInsets.symmetric(horizontal: 16.w),
- child: Column(
- children: [_getFaq1(context)],
- ),
- ),
- )),
- );
- }
- Widget _getFaq1(BuildContext context) {
- return Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- Container(
- padding: EdgeInsets.symmetric(horizontal: 0.w, vertical: 5.h),
- child: Text(
- getS().faq1Title,
- style: Theme.of(context).textTheme.titleSmall,
- ),
- ),
- SizedBox(
- height: 10.h,
- ),
- Text(
- getS().faq1Desc1,
- style: Theme.of(context).textTheme.bodySmall,
- ),
- SizedBox(
- height: 8.h,
- ),
- Text(getS().faq1Desc2, style: Theme.of(context).textTheme.bodySmall),
- SizedBox(
- height: 8.h,
- ),
- Text(getS().faq1Desc3, style: Theme.of(context).textTheme.bodySmall),
- ],
- );
- }
- }
|