flutter positioned center horizontally

115

Stack(
  alignment: Alignment.center, // <---------
  children: [
    Text('Some text'),
    // Other widgets
  ],
),

Comments

Submit
0 Comments