gas refill comment issue fix.

main_design2.0
Sikander Saleem 2 years ago
parent 6bb2b81ac3
commit 369ae3d949

@ -65,6 +65,7 @@ class _AppFloatingActionButtonState extends State<AppFloatingActionButton> {
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),

@ -223,7 +223,7 @@ class _NewGasRefillRequestPageState extends State<NewGasRefillRequestPage> {
labelText: context.translation.comments,
textInputType: TextInputType.multiline,
alignLabelWithHint: true,
onSaved: (text) {
onChange: (text) {
_gasModel.comment = text;
},
),

@ -114,7 +114,7 @@ class _GasRefillDetailsPageState extends State<GasRefillDetailsPage> {
'${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,

Loading…
Cancel
Save