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.
diplomatic-quarter/lib/pages/InPatientServices/inpatient_general_consent.dart

452 lines
21 KiB
Dart

import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
import 'package:diplomaticquarterapp/uitl/utils_new.dart';
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
import 'package:flutter/material.dart';
class InPatientGeneralConsent extends StatelessWidget {
const InPatientGeneralConsent();
@override
Widget build(BuildContext context) {
return AppScaffold(
isShowAppBar: true,
isShowDecPage: false,
showNewAppBarTitle: true,
showNewAppBar: true,
appBarTitle: TranslationBase.of(context).InPatientServicesHeader,
body: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
Padding(
padding: const EdgeInsets.all(21.0),
child: Text(
TranslationBase.of(context).generalConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
Expanded(
child: SingleChildScrollView(
child: Container(
width: MediaQuery.of(context).size.width,
child: Card(
elevation: 0.0,
margin: EdgeInsets.only(left: 16.0, right: 16.0, bottom: 16.0),
color: Colors.white,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
side: BorderSide(color: Colors.transparent, width: 0.0),
),
child: Padding(
padding: EdgeInsets.all(16.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent1,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).hospitalRules,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent2,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).communicationConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent3,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).releaseConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent4,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent5,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).valuables,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent6,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).financialConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent7,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).dataSharingConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent8,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).permissionLeaveConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent9,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).observeConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent10,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).noGuaranteeConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent11,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).disputeConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent12,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).patientsRightsConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent13,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(24.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).acknowledgementConsent,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 21.0,
fontWeight: FontWeight.bold,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
mHeight(12.0),
Container(
width: MediaQuery.of(context).size.width * 0.85,
margin: EdgeInsets.only(left: 5.0, right: 5.0),
child: Text(
TranslationBase.of(context).generalConsent14,
overflow: TextOverflow.clip,
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w600,
color: Color(0xff2B353E),
letterSpacing: -0.64,
),
),
),
],
),
),
),
),
),
)
],
),
);
}
}