Answers for "text add background color and add border radius in flutter"

C#
2

flutter InputDecoration border radius color

border: OutlineInputBorder(
	// width: 0.0 produces a thin "hairline" border
    borderRadius: BorderRadius.all(Radius.circular(90.0)),
    borderSide: BorderSide.none,
    ...
)
Posted by: Guest on March-12-2021
0

flutter text border color

Stack(
  children: <Widget>[
    // Stroked text as border.
    Text(
      'Greetings, planet!',
      style: TextStyle(
        fontSize: 40,
        foreground: Paint()
          ..style = PaintingStyle.stroke
          ..strokeWidth = 6
          ..color = Colors.blue[700],
      ),
    ),
    // Solid text as fill.
    Text(
      'Greetings, planet!',
      style: TextStyle(
        fontSize: 40,
        color: Colors.grey[300],
      ),
    ),
  ],
)
Posted by: Guest on November-03-2020

Code answers related to "text add background color and add border radius in flutter"

C# Answers by Framework

Browse Popular Code Answers by Language