set width of container to fit child flutter code example Example: flutter container width of parent width: double.infinity, height: double.infinity