Answers for "change text size flutter"

9

flutter font bold

Text(
  'Some text',
  style: TextStyle(
    fontSize: 24,
    fontWeight: FontWeight.bold),
)
Posted by: Guest on June-23-2020
2

adjust text size flutter

Text(
    'Hello World!',
    style: TextStyle(fontSize: 25),
),
Posted by: Guest on August-09-2021
1

increase text size of Test flutter

child: Text(
	'Hello World! This is a text widget.',
    style: TextStyle(fontSize: 25),
)
Posted by: Guest on June-19-2020
0

change font size in flutter

new MaterialButton(
  height: 140.0,
  minWidth: double.infinity,
  color: Theme.of(context).primaryColor,
  textColor: Colors.white,
  child: new Text(
    "material button",
    style: new TextStyle(
      fontSize: 20.0,
      color: Colors.yellow,
    ),
  ),
  onPressed: () => {},
  splashColor: Colors.redAccent,
);
Posted by: Guest on July-20-2021

Browse Popular Code Answers by Language