Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
2.2 kB
7
Indexable
Never
             8.height,
                            Text(language.info, style: boldTextStyle(size: 16)).visible(
                                !orderData!.pickupPoint!.description.isEmptyOrNull ||
                                    !orderData!.deliveryPoint!.description.isEmptyOrNull),
                            12.height,
                            Container(
                              decoration: boxDecorationWithRoundedCorners(
                                  borderRadius: BorderRadius.circular(defaultRadius),
                                  border: Border.all(color: ColorUtils.colorPrimary.withOpacity(0.3)),
                                  backgroundColor: Colors.transparent),
                              padding: EdgeInsets.all(12),
                              child: Column(
                                children: [
                                  Row(
                                    mainAxisAlignment: MainAxisAlignment.spaceBetween,
                                    children: [
                                      Text(language.pickupInformation, style: secondaryTextStyle()),
                                      Text(orderData!.pickupPoint!.description.toString(),
                                          style: boldTextStyle(size: 14)),
                                    ],
                                  ).visible(!orderData!.pickupPoint!.description.isEmptyOrNull),
                                  8.height.visible(!orderData!.pickupPoint!.description.isEmptyOrNull),
                                  Row(
                                    mainAxisAlignment: MainAxisAlignment.spaceBetween,
                                    children: [
                                      Text(language.deliveryInformation, style: secondaryTextStyle()),
                                      Text(orderData!.deliveryPoint!.description.toString(),
                                          style: boldTextStyle(size: 14)),
                                    ],
                                  ).visible(!orderData!.deliveryPoint!.description.isEmptyOrNull),
                                ],
                              ),
                            ),
Leave a Comment