text spacing flutter

59

Text(
  "Hello World", 
  style: TextStyle(
  	letterSpacing: 1.0 // default is 0.0
  ),
);
Column(
  children: <Widget>[
    Widget1(),
    SizedBox(height: 10),
    Widget2(),
  ],
),
Text("Hello World", style: TextStyle(
  height: 1.2 // the height between text, default is 1.0
  letterSpacing: 1.0 // the white space between letter, default is 0.0
));

Comments

Submit
0 Comments