|
|
|
@ -423,6 +423,7 @@ class SwipeGeneralUtils {
|
|
|
|
|
|
|
|
|
|
|
|
showModalBottomSheet(
|
|
|
|
showModalBottomSheet(
|
|
|
|
context: context,
|
|
|
|
context: context,
|
|
|
|
|
|
|
|
useSafeArea: true,
|
|
|
|
shape: const RoundedRectangleBorder(
|
|
|
|
shape: const RoundedRectangleBorder(
|
|
|
|
borderRadius: BorderRadius.vertical(
|
|
|
|
borderRadius: BorderRadius.vertical(
|
|
|
|
top: Radius.circular(20),
|
|
|
|
top: Radius.circular(20),
|
|
|
|
@ -430,7 +431,12 @@ class SwipeGeneralUtils {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
|
|
|
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
|
|
|
clipBehavior: Clip.antiAliasWithSaveLayer,
|
|
|
|
clipBehavior: Clip.antiAliasWithSaveLayer,
|
|
|
|
builder: (BuildContext context) => Column(
|
|
|
|
builder: (BuildContext context) =>Padding(
|
|
|
|
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
|
|
|
|
bottom: MediaQuery.of(context).viewInsets.bottom +
|
|
|
|
|
|
|
|
MediaQuery.of(context).padding.bottom,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
@ -446,6 +452,7 @@ class SwipeGeneralUtils {
|
|
|
|
children: availableAttendanceMethodList(context: context, userProvider: _userProvider, isNfcSupported: isNfcSupported)),
|
|
|
|
children: availableAttendanceMethodList(context: context, userProvider: _userProvider, isNfcSupported: isNfcSupported)),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
).paddingAll(16),
|
|
|
|
).paddingAll(16),
|
|
|
|
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|