Error: Too many positional arguments: 1 allowed, but 2 found
I’m working on a flutter app that is getting a JSON from an API, then I’m parsing the JSON and building a List Tile, when I try to run the code, I’m getting this error. lib/screens/screen4.dart:112:23: Error: Too many positional arguments: 1 allowed, but 2 found. Try removing the extra positional arguments. return _tile(data[index].ssid,data[index].auth,icon: Icons.wifi);… Read More Error: Too many positional arguments: 1 allowed, but 2 found