centered_singlechildscrollview

Creator: coderz1093

Last updated:

0 purchases

centered_singlechildscrollview Image
centered_singlechildscrollview Images

Languages

Categories

Add to Cart

Description:

centered singlechildscrollview

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 CenteredSingleChildScrollView(
child: CircularProgressIndicator(),
);
}
}
copied to clipboard
Contributors #

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.