Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- title: Text("Scroll Limit reached"),
- ),
- body: Column(
- children: <Widget>[
- Container(
- height: 50.0,
- color: Colors.green,
- child: Center(
- child: Text(message),
- ),
- ),
- Expanded(
- child: ListView.builder(
- itemCount: 30,
- itemBuilder: (context, index) {
- return ListTile(title: Text("Index : $index"));
- },
- ),
- ),
- ],
- ),
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement