Text("Border test", style: TextStyle( inherit: true, fontSize: 48.0, color: Colors.pink, shadows: [ Shadow( // bottomLeft offset: Offset(-1.5, -1.5), color: Colors.white ), Shadow( // bottomRight offset: Offset(1.5, -1.5), color: Colors.white ), Shadow( // topRight offset: Offset(1.5, 1.5), color: Colors.white ), Shadow( // topLeft offset: Offset(-1.5, 1.5), color: Colors.white ), ] ), );
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter