set image width to match parent in flutter code example Example: flutter container width of parent width: double.infinity, height: double.infinity