skip to Main Content

Woocommerce – Invalid radix-10 number (at character 1) in flutter

I got this error: Unhandled Exception: FormatException: Invalid radix-10 number (at character 1) Future<List<banner>> getBannerPictures() async { var url = Uri.http('https://woocommerce-811161-3604078.cloudwaysapps.com/wp-json/api/v1/get-home-page'); final response = await http.get(url); print(response.body.toString()); List<banner> photos = []; List<dynamic> data = jsonDecode(response.body.toString()); print(data.toString()); for(var i =0; i<data.length;…

VIEW QUESTION

Cannot build Flutter Application due to errors

I have installed all the dependencies necessary for my flutter application but it is still throwing the errors below. Iam using flutter version 3.10.5 ../Downloads/flutter_windows_3.10.5-stable/flutter/packages/flutter_test/lib/src/_goldens_io.dart:12:8: Error: Error when reading '../AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.6.1/lib/expect.dart': The system cannot find the file specified. import 'package:test_api/expect.dart' show…

VIEW QUESTION
Back To Top
Search