Last active
December 8, 2022 07:52
-
-
Save timnew/a434e44f6ec9dd021892ee350110795d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) => MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: Scaffold( | |
appBar: AppBar( | |
title: const Text("Inifite List"), | |
), | |
body: ListView.builder( | |
itemBuilder: (context, index) => ListTile( | |
leading: const Icon(Icons.fingerprint), | |
title: Text("Item $index"), | |
subtitle: const Text("This is an item of initite list"), | |
trailing: const Icon(Icons.arrow_forward_ios), | |
), | |
), | |
), | |
); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment