diff --git a/lib/new_views/common_widgets/app_floating_action_button.dart b/lib/new_views/common_widgets/app_floating_action_button.dart index 4ae518b6..becf32df 100644 --- a/lib/new_views/common_widgets/app_floating_action_button.dart +++ b/lib/new_views/common_widgets/app_floating_action_button.dart @@ -65,6 +65,7 @@ class _AppFloatingActionButtonState extends State { shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(10), ), + shadows: [BoxShadow(color: Colors.black.withOpacity(0.05), blurRadius: 14, offset: const Offset(0, 0), spreadRadius: 0)], // shadows: const [BoxShadow(color: Color(0x0C000000), blurRadius: 10, offset: Offset(0, 0), spreadRadius: 0)], ), child: Column(mainAxisSize: MainAxisSize.min, children: elements), diff --git a/lib/new_views/pages/new_gas_refill_request_page.dart b/lib/new_views/pages/new_gas_refill_request_page.dart index 4b71c92c..9623fa2d 100644 --- a/lib/new_views/pages/new_gas_refill_request_page.dart +++ b/lib/new_views/pages/new_gas_refill_request_page.dart @@ -223,7 +223,7 @@ class _NewGasRefillRequestPageState extends State { labelText: context.translation.comments, textInputType: TextInputType.multiline, alignLabelWithHint: true, - onSaved: (text) { + onChange: (text) { _gasModel.comment = text; }, ), diff --git a/lib/views/pages/user/gas_refill/gas_refill_details.dart b/lib/views/pages/user/gas_refill/gas_refill_details.dart index 340dce54..e5d3cd8d 100644 --- a/lib/views/pages/user/gas_refill/gas_refill_details.dart +++ b/lib/views/pages/user/gas_refill/gas_refill_details.dart @@ -114,7 +114,7 @@ class _GasRefillDetailsPageState extends State { '${context.translation.requestedQuantity}: ${gasRefillModel.gazRefillDetails[0]?.requestedQty ?? 0}'.bodyText(context), '${context.translation.deliveredQuantity}: ${gasRefillModel.gazRefillDetails[0]?.deliverdQty ?? 0}'.bodyText(context), 8.height, - if (gasRefillModel.comment?.isEmpty ?? false) ...[ + if (gasRefillModel.comment?.isNotEmpty ?? false) ...[ const Divider().defaultStyle(context), gasRefillModel.comment.bodyText(context), 8.height,