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 ), ] ), );