|
|
|
@ -423,7 +423,6 @@ 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),
|
|
|
|
@ -431,12 +430,7 @@ class SwipeGeneralUtils {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
|
|
|
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
|
|
|
clipBehavior: Clip.antiAliasWithSaveLayer,
|
|
|
|
clipBehavior: Clip.antiAliasWithSaveLayer,
|
|
|
|
builder: (BuildContext context) =>Padding(
|
|
|
|
builder: (BuildContext context) => Column(
|
|
|
|
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: [
|
|
|
|
@ -452,7 +446,6 @@ class SwipeGeneralUtils {
|
|
|
|
children: availableAttendanceMethodList(context: context, userProvider: _userProvider, isNfcSupported: isNfcSupported)),
|
|
|
|
children: availableAttendanceMethodList(context: context, userProvider: _userProvider, isNfcSupported: isNfcSupported)),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
).paddingAll(16),
|
|
|
|
).paddingAll(16),
|
|
|
|
),
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|