|
@@ -48,12 +48,12 @@ class FunctionsPanel extends GetView<PatientDetailController> {
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 0, vertical: 10)
|
|
|
.copyWith(right: 0),
|
|
|
child: GridView(
|
|
|
- padding: const EdgeInsets.symmetric(horizontal: 32).copyWith(top: 12),
|
|
|
+ padding: const EdgeInsets.symmetric(horizontal: 12).copyWith(top: 12),
|
|
|
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
|
|
|
crossAxisCount: 4,
|
|
|
- mainAxisSpacing: 24,
|
|
|
- crossAxisSpacing: 24,
|
|
|
- childAspectRatio: 15 / 14,
|
|
|
+ mainAxisSpacing: 12,
|
|
|
+ crossAxisSpacing: 12,
|
|
|
+ childAspectRatio: 1,
|
|
|
),
|
|
|
children: [
|
|
|
FunctionButton(
|
|
@@ -129,8 +129,8 @@ class FunctionsPanel extends GetView<PatientDetailController> {
|
|
|
Widget _buildImgIcon(String assetName) {
|
|
|
return Image.asset(
|
|
|
"assets/images/patient/$assetName",
|
|
|
- width: 85,
|
|
|
- height: 85,
|
|
|
+ width: 115,
|
|
|
+ height: 115,
|
|
|
fit: BoxFit.contain,
|
|
|
);
|
|
|
}
|