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 [...]

Center aligned SingleChildScrollView. #

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.


class Screen extends StatelessWidget {
  const Screen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return CenteredChildScrollView(
      child: CircularProgressIndicator(),
    );
  }
}
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