Answers for "flutter padding center"

5

flutter positioned center horizontally

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

flutter padding

const Card(
  child: Padding(
    padding: EdgeInsets.all(16.0),
    child: Text('Hello World!'),
  ),
)
Posted by: Guest on July-27-2020
6

flutter center widget

Center(
        child: Text('Center'),
      )
Posted by: Guest on August-29-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language