scroll_when_needed 3.0.1 scroll_when_needed: ^3.0.1 copied to clipboard
A packages that allows us to only scroll when needed with the correct platform specific behaviour.
import 'package:flutter/material.dart';
import 'package:scroll_when_needed_example/home_screen.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: HomeScreen(),
);
}
}