Posts

Showing posts with the label ListView Example In flutter

ListView Example In flutter

Hi, In this Flutter tutorial I am going to teach how to make list in flutter. Listview is a widget in flutter. We can also say that Listview is a view that contains the group of items and displays in a scrollable list. ListView is a default scrollable which does not use another scroll view. Like that:- import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget {   @override   Widget build(BuildContext context) {     return MaterialApp(       title: 'Flutter ListView Demo',       theme: ThemeData(         primarySwatch: Colors.blue,       ),       home: Scaffold(         appBar: AppBar(           title: Text("ListView Demo"),         ),         body: ListView(           children: <Widget>[             ListTile(             leading: Icon(Icons.zoom_out_map),             title: Text("zoom_out_map"),),             ListTile(               leading: Icon(Icons.account