|
|
|
|
@ -33,7 +33,16 @@ class AdDuration extends StatelessWidget {
|
|
|
|
|
isScrollControlled: true,
|
|
|
|
|
enableDrag: true,
|
|
|
|
|
builder: (BuildContext context) {
|
|
|
|
|
return InfoBottomSheet(title: "Reserve Ad Price Info", description: GlobalConsts.reserveAdPriceInfo);
|
|
|
|
|
return InfoBottomSheet(
|
|
|
|
|
title: "Reserve Ad Price Info",
|
|
|
|
|
description: Flexible(
|
|
|
|
|
child: GlobalConsts.reserveAdPriceInfo.toText(
|
|
|
|
|
textAlign: TextAlign.justify,
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
color: MyColors.lightTextColor,
|
|
|
|
|
isBold: false,
|
|
|
|
|
)),
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -75,7 +84,6 @@ class AdDuration extends StatelessWidget {
|
|
|
|
|
adVM.updateSelectionDurationStartDate(formattedDate);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
).toWhiteContainer(width: double.infinity, allPading: 12, margin: const EdgeInsets.symmetric(horizontal: 21, vertical: 10)),
|
|
|
|
|
Column(
|
|
|
|
|
@ -100,9 +108,7 @@ class AdDuration extends StatelessWidget {
|
|
|
|
|
TxtField(
|
|
|
|
|
postfixData: Icons.info_outline_rounded,
|
|
|
|
|
postFixDataColor: MyColors.grey77Color,
|
|
|
|
|
onPostFixPressed: () {
|
|
|
|
|
reservePriceInfoClicked(context);
|
|
|
|
|
},
|
|
|
|
|
onPostFixPressed: () => reservePriceInfoClicked(context),
|
|
|
|
|
value: adVM.adReserveAmount,
|
|
|
|
|
errorValue: adVM.adReservePriceError,
|
|
|
|
|
keyboardType: TextInputType.number,
|
|
|
|
|
|