skip to Main Content

why my page route is not working properly? – Flutter

InkWell( onTap: () { Get.put<DetailsPaymentHistoryController>( DetailsPaymentHistoryController( paymentHistoryApi: PaymentHistoryApi(), invoiceId: payment.invoiceId!.toString())); Get.toNamed(Routes.detailsHistoryPayment); }, child: Row( mainAxisAlignment: MainAxisAlignment.end, children: [ Text( 'More Details', style: getSemiBoldStyle( color: Colormanager.primary, fontSize: FontSize.s15), ), const SizedBox( width: AppSize.s4, ), Icon( Icons.read_more, color: Colormanager.darkPrimary, ) ], ),…

VIEW QUESTION

Flutter double paint value calculation errors

Getting this error: The setter 'value=' was called on null. Receiver: null Tried calling: value=3000.0 final WallheightController = TextEditingController(); final WalllengthController = TextEditingController(); var height; var length; var area; RxDouble paint = 0.2.obs; RxDouble result=0.0 .obs; calculatepaint() { if (WallheightController.text.isNotEmpty…

VIEW QUESTION
Back To Top
Search