skip to Main Content

I'm using listView but the Too many positional arguments: 0 expected, but 1 found. keep occuring at //1 . i'm beginner in flutter

Center( //1 child: ListView( children:const [ ListTile( leading: Icon(Icons.map), title: Text('map'), ), ListTile( leading: Icon(Icons.phone), title: Text('phone'), ), ListTile( leading: Icon(Icons.photo_album), title: Text('album'), ), ], ), ), Please explain me why this error has occured.This is the error Too many…

VIEW QUESTION
Back To Top
Search