Running with the core lightning deprecated api set to false we have the following bug
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
flutter: โ #0 LogManager.debug (package:cln_common/src/logger/logger_manager.dart:16:13)
flutter: โ #1 RPCClient.call (package:clightning_rpc/src/clightning_rpc.dart:36:10)
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
flutter: โ ๐ Response from RPC is : {payments: [{id: 4, payment_hash: 08b814811c94728d59ee04a3d6f3ee23c92a81e48fa5a8e23972f050989058b5, groupid: 0, destination: 03933884aaf1d6b108397e5efe5c86bcf2d8ca8d2f700eda99db9214fc2712b134, amount_msat: 200000, amount_sent_msat: 201004, created_at: 1616175716, completed_at: 1616175716, status: complete, payment_preimage: a2effbf3361ad12dd14cb3091d56e9d6566ca5f3d999291fc8b2c1a1a4f30a2e}, {id: 5, payment_hash: 661982f1cb9b8a9fbb48eb42adb1e32548794a98273fafa35a49ea489980dc55, groupid: 0, destination: 035f3c2d601d3dda4f717409cef7c76e1bdce353d79fbe630693bff32beaf217bc, amount_msat: 100, amount_sent_msat: 110, created_at: 1617231911, completed_at: 1617231911, status: complete, payment_preimage: 9e2fad8afbeb8857459f59154827b07cdf9d39e5c24fb0ac69a7dae7a6d58568, bolt11: lntb1n1psxflaqpp5vcvc9uwtnw9flw6gadp2mv0ry4y8jj5cyul6lg66f84y3xvqm32sdq8w3jhxaqxqyjw5qcqp2sp50n6my4zyenrf2ddc0trhlc7g8kyuukp8mhgmp6eecwww5zpjuw4srzjqv9ks6sk823thgpuawut4dmh37kz29fkfxq5rhc2gdkk3q6j6sn0v8v7r5qqqfqqqqqqqqq2qqqq86qqqc9qy9qsq8999a06st5f9llry542rdn9zathwss832kvsd5kqwg0xxh2cawwzhuhw36ypw6zmkxzplpljmg0pwayzmfxtetgcp9q783e23xerkygqtghmwm}, {id: 275, payment_hash: 19e149210c2e4b7beb68b15f648b1973b7d9b83f25d434831650966b27cba606, groupid: 1, destination: 03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880, amount_msat: 450000000, amount_sent_msat: 450002901, created_at: 1651492299, completed_at: 1651492299, status: complete, payment_preimage: a7f511c1180111ccb05d4eb9760187d61f4bd7cd44c2832aaa06d5592078c7f5}, {id: 299, payment_hash: d20f86d925c5b5ff02bcf5614fe731102ce0c04a64b3df78138fb6dd4131a08e, groupid: 8, destination: 02ec99e98f3f3a5e300bebb12a49d5b72d77a55796808a8f5b2e6b42f3db51c7cf, amount_msat: 100, amount_sent_msat: 100, created_at: 1656068042, completed_at: 1656068042, status: complete, payment_preimage: aaf19dd5bb5f49cd44e472cad6c185af715011dd9c8c93fc07b87fce38be6100, bolt11: lntb1p3ttrc2sp5j5arcf6vfmju9m2y954qkff3vduvye88h4yz5yt49gllemm8qddqpp56g8cdkf9ck6l7q4u74s5lee3zqkwpsz2vjea77qn37md6sf35z8qdqav4ehg6twvusxcm3qwpshjmt9de68xxqyjw5qcqp2rzjqgcjvfla7plmm4l9mkcnvcgmmh5mqrfxsgw3fk2gjyu4g5hk0teysgksjcqqq2sqqyqqqqlgqqqqqqgq9q9qyysgqfw7hyzh66echsxpahqhu2r7zjrurcvq7080r0c9z0zwqxtt6fwkyvtte722v75fqnh2f67vteflw8xxgckrgf93jw59semn6qvku24sptvqkmg}, {id: 300, payment_hash: 854e88eb44fc7bcfe89984520bbe9652c2d68d77c842f556b38cf3ec7c0675af, groupid: 1, partid: 1, destination: 0348cc1a9479697cd52db445ea74149ad40bb01bb2045a3e8acba21b70f94ab7cf, amount_msat: 3000000, amount_sent_msat: 3002503, created_at: 1660000901, completed_at: 1660000901, status: complete, payment_preimage: 38ee9c38eee6f8cc636383bab3d4d0ad87c084dc0e4fd10d71f886059cc58c01, bolt11: lntb30u1p30ryqupp5s48g366yl3aul6yes3fqh05k2tpddrthepp0244n3ne7clqxwkhsdq5xvsyymr0ddskxcmfdehsxqrrsscqp79qy9qsqsp5y2c2kn9u7gdxyafxmw8exu05krcqx5yva54jp7kayz7k6jat3nnqqkf34gwennur2t7de7g8nndq9czlff6q38k27kgjufwu7jthpa4qj426edh3peqhfth36etuk7tcx3hax5uche2ues99vparl8rzpgspu9wu8v}]}
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
flutter: โ #0 LogManager.error (package:cln_common/src/logger/logger_manager.dart:20:13)
flutter: โ #1 _HomeViewState._checkIfThereAreError (package:clnapp/views/home/home_view.dart:260:30)
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
flutter: โ โ type 'int' is not a subtype of type 'String'
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
flutter: โ #0 LogManager.error (package:cln_common/src/logger/logger_manager.dart:20:13)
flutter: โ #1 _HomeViewState._checkIfThereAreError (package:clnapp/views/home/home_view.dart:261:30)
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
flutter: โ โ #0 new AppSendPays.fromJSON (package:clnapp/model/app_model/list_send_pays.dart:72:21)
flutter: โ โ #1 new AppListSendPays.fromJSON.<anonymous closure> (package:clnapp/model/app_model/list_send_pays.dart:13:38)
flutter: โ โ #2 MappedListIterable.elementAt (dart:_internal/iterable.dart:415:31)
flutter: โ โ #3 ListIterator.moveNext (dart:_internal/iterable.dart:344:26)
flutter: โ โ #4 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189:27)
flutter: โ โ #5 new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
flutter: โ โ #6 new List.of (dart:core-patch/array_patch.dart:52:28)
flutter: โ โ #7 ListIterable.toList (dart:_internal/iterable.dart:214:7)
flutter: โ โ #8 new AppListSendPays.fromJSON (package:clnapp/model/app_model/list_send_pays.dart:14:12)
flutter: โ โ #9 CLNApi.listSendPays.<anonymous closure> (package:clnapp/api/cln/cln_client.dart:190:53)
flutter: โ โ #10 RPCClient.call (package:clightning_rpc/src/clightning_rpc.dart:38:22)
flutter: โ โ <asynchronous suspension>
flutter: โ โ #11 _HomeViewState.listPayments (package:clnapp/views/home/home_view.dart:118:22)
flutter: โ โ <asynchronous suspension>
flutter: โ โ #12 _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:628:33)
flutter: โ โ <asynchronous suspension>
flutter: โ โ
flutter: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Another exception was thrown: The showSnackBar() method cannot be called during build.