improvements

merge-requests/112/head
Sikander Saleem 3 years ago
parent 7fc8fd9123
commit 0077a876d9

@ -16,7 +16,6 @@ import 'package:image_picker_for_web/image_picker_for_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart'; import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_web.dart'; import 'package:url_launcher_web/url_launcher_web.dart';
import 'package:video_player_web/video_player_web.dart'; import 'package:video_player_web/video_player_web.dart';
import 'package:wakelock_web/wakelock_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart'; import 'package:flutter_web_plugins/flutter_web_plugins.dart';
@ -32,6 +31,5 @@ void registerPlugins(Registrar registrar) {
SharedPreferencesPlugin.registerWith(registrar); SharedPreferencesPlugin.registerWith(registrar);
UrlLauncherPlugin.registerWith(registrar); UrlLauncherPlugin.registerWith(registrar);
VideoPlayerPlugin.registerWith(registrar); VideoPlayerPlugin.registerWith(registrar);
WakelockWeb.registerWith(registrar);
registrar.registerMessageHandler(); registrar.registerMessageHandler();
} }

@ -21,28 +21,30 @@ class PersonalInfo extends StatelessWidget {
title: LocaleKeys.profile_personalInformation.tr(), title: LocaleKeys.profile_personalInformation.tr(),
), ),
backgroundColor: MyColors.backgroundColor, backgroundColor: MyColors.backgroundColor,
body: SingleChildScrollView( body: ListView(
child: Column( children: [
crossAxisAlignment: CrossAxisAlignment.start, Column(
mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start, mainAxisSize: MainAxisSize.min,
children: [ mainAxisAlignment: MainAxisAlignment.start,
LocaleKeys.category.tr().toText13(color: MyColors.lightGrayColor), children: [
(memberInformationList.eMPLOYMENTCATEGORYMEANING ?? "").toText16(), LocaleKeys.category.tr().toText13(color: MyColors.lightGrayColor),
12.height, (memberInformationList.eMPLOYMENTCATEGORYMEANING ?? "").toText16(),
LocaleKeys.address.tr().toText13(color: MyColors.lightGrayColor), 12.height,
(memberInformationList.lOCATIONNAME ?? "").toText16(), LocaleKeys.address.tr().toText13(color: MyColors.lightGrayColor),
12.height, (memberInformationList.lOCATIONNAME ?? "").toText16(),
LocaleKeys.phoneNumber.tr().toText13(color: MyColors.lightGrayColor), 12.height,
(memberInformationList.eMPLOYEEMOBILENUMBER ?? "").toText16(), LocaleKeys.phoneNumber.tr().toText13(color: MyColors.lightGrayColor),
12.height, (memberInformationList.eMPLOYEEMOBILENUMBER ?? "").toText16(),
LocaleKeys.businessGroup.tr().toText13(color: MyColors.lightGrayColor), 12.height,
(memberInformationList.bUSINESSGROUPNAME ?? "").toText16(), LocaleKeys.businessGroup.tr().toText13(color: MyColors.lightGrayColor),
12.height, (memberInformationList.bUSINESSGROUPNAME ?? "").toText16(),
LocaleKeys.Payroll.tr().toText13(color: MyColors.lightGrayColor), 12.height,
(memberInformationList.pAYROLLNAME ?? "").toText16(), LocaleKeys.Payroll.tr().toText13(color: MyColors.lightGrayColor),
], (memberInformationList.pAYROLLNAME ?? "").toText16(),
).objectContainerView().paddingAll(21), ],
).objectContainerView(center: false).paddingAll(21),
],
), ),
); );
} }

Loading…
Cancel
Save