Answers for "padding to center flutter"

5

flutter positioned center horizontally

Stack(
  alignment: Alignment.center, // <---------
  children: [
    Text('Some text'),
    // Other widgets
  ],
),
Posted by: Guest on February-13-2021
3

center row content flutter

mainAxisAlignment: MainAxisAlignment.center //Center Row contents horizontally,
crossAxisAlignment: CrossAxisAlignment.center //Center Row contents vertically,
Posted by: Guest on December-02-2020

Browse Popular Code Answers by Language