centered_singlechildscrollview 0.0.8 copy "centered_singlechildscrollview: ^0.0.8" to clipboard
centered_singlechildscrollview: ^0.0.8 copied to clipboard

outdated

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_singlechildscrollview

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  centered_singlechildscrollview: ^0.0.8

Alternatively, 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';
2
likes
0
points
187
downloads

Publisher

unverified uploader

Weekly Downloads

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 child's place in the center can be changed. You can choose distribution of children on scrollDirection by specifying mainAxisAlignment like Column.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on centered_singlechildscrollview