How to remove the extra space on left side of Column Widget?

This Errors is posted by seven.srikanth at 12/7/2018 6:42:22 PM



<p>If you are seeing some space on the left side of the Column Widget as below. font-size: 1rem;](You need to add crossAxisAlignmentfont-size: 1rem;](: CrossAxisAlignment.start to your column widget to fix the issue. Screenshot with Issue: ![](https://fluttercentral.com/Uploads/4a712572-709f-453c-a701-bf1c7ed405f7.PNGwidth="50%height="auto](</p> <p>Screenshot after fix: ![](../../Uploads/bb01aaca-6c4d-4a3e-a6df-3839bac2550b.PNGwidth="50%height="autofont-size: 1rem;](</p> <p id="e5c07b;](MyApp());" color:="">Hope this fixes your issue. Here is the full code from main.dart file. color: rgb(187, 187, 187); background-color: rgb(40, 44, 52); font-family: Consolas, "Courier New", monospace; font-size: 14px; line-height: 19px; white-space: pre;](color: #c678dd;](import color: #98c379;]('package:flutter/material.dart'; color: #c678dd;](void color: #61afef;](main() color: #c678dd;](class color: #e5c07b;](MyApp color: #c678dd;](extends color: #e5c07b;](StatelessWidget { color: #c678dd;](@override color: #e5c07b;](Widget color: #61afef;](build(color: #e5c07b;](BuildContext context) { color: #e5c07b;](Widget titlesection color: #56b6c2;](= color: #e5c07b;](Container( paddingcolor: #c678dd;](: color: #e5c07b;](EdgeInsets.color: #61afef;](all(color: #d19a66;](32.0), childcolor: #c678dd;](: color: #e5c07b;](Row( childrencolor: #c678dd;](: color: #56b6c2;]([ color: #e5c07b;](Expanded( childcolor: #c678dd;](: color: #e5c07b;](Column( crossAxisAlignmentcolor: #c678dd;](: color: #e5c07b;](CrossAxisAlignment.start, childrencolor: #c678dd;](: color: #56b6c2;]([ color: #e5c07b;](Container( paddingcolor: #c678dd;](: color: #e5c07b;](EdgeInsets.color: #61afef;](only(bottomcolor: #c678dd;](: color: #d19a66;](8.0), childcolor: #c678dd;](: color: #e5c07b;](Text( color: #98c379;]("Some Lage Somthing", stylecolor: #c678dd;](: color: #e5c07b;](TextStyle(fontWeightcolor: #c678dd;](: color: #e5c07b;](FontWeight.bold), ), ), color: #e5c07b;](Text(color: #98c379;]("Someplace, Country") ], ), ), color: #e5c07b;](Icon(color: #e5c07b;](Icons.star) ], ), ); color: #c678dd;](return color: #e5c07b;](MaterialApp( titlecolor: #c678dd;](: color: #98c379;]('My Layout App', homecolor: #c678dd;](: color: #e5c07b;](Scaffold( appBarcolor: #c678dd;](: color: #e5c07b;](AppBar( titlecolor: #c678dd;](: color: #e5c07b;](Text(color: #98c379;]("My Layout App"), ), bodycolor: #c678dd;](: color: #e5c07b;](ListView( childrencolor: #c678dd;](: color: #56b6c2;]([ color: #7f848e;font-style: italic;](// Image.asset('images/lake.jpg'), titlesection, ], )), ); }}</p> <p>Thanks,Srikanth</p>


Tags: How to remove the extra space on left side of Column Widget?








0 Comments
Login to comment.
Recent Comments