centered_singlechildscrollview 0.0.8
centered_singlechildscrollview: ^0.0.8 copied to clipboard
The child is centered in the SingleChildScrollView. If the child is smaller than SingleChildScrollView, it will be in the center. If it's large, it behaves like a normal SingleChildScrollView. The chi [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add centered_singlechildscrollviewThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
centered_singlechildscrollview: ^0.0.8Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:centered_singlechildscrollview/centered_singlechildscrollview.dart';