Answers for "flutter padding on text'"

1

content padding field text flutter

TextField(
          textAlign: TextAlign.left,
          decoration: new InputDecoration(hintText: "Enter Something", contentPadding: const EdgeInsets.all(20.0))
          )
Posted by: Guest on May-14-2020
1

flutter padding

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

Browse Popular Code Answers by Language