Answers for "flutter how to make one widget take up a column"

1

flutter column widget vertical center

Column(
  mainAxisAlignment: MainAxisAlignment.center,
  crossAxisAlignment: CrossAxisAlignment.center,
  children:children,
)
Posted by: Guest on October-13-2020
0

add fit to column flutter

Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: <Widget>[
        Image.network("Your image url",
          width: double.infinity, 
          fit: BoxFit.fitWidth,
        ),
        Text("Fitted image"),
      ],
    )
Posted by: Guest on August-10-2020

Code answers related to "flutter how to make one widget take up a column"

Browse Popular Code Answers by Language