en flutter

Flutter Espaciado en Lista de columna

Column, spacing

Cuando queremos un espacio entre los hijos children del widget Column, normalmente usan SizeBox, pero con Wrap se puede usar un atributo para el spaceado entre los hijos

Wrap(
  spacing: 20, // to apply margin in the main axis of the wrap
  runSpacing: 20, // to apply margin in the cross axis of the wrap
  children: <Widget>[
     Text('child 1'),
     Text('child 2')
  ]
)

Escriba un comentario

Comentario

  1. You made some good points there. I viewed on the net for the problem and also found most individuals will certainly go along with with your web site. Judith Efren Annecorinne

  2. I am sure this paragraph has touched all the internet users, its really really fastidious article on building up new web site. Johnson Leanos