ShaderMask(
shaderCallback: (Rect bounds) {
return RadialGradient(
center: Alignment.topLeft,
radius: 1.0,
tileMode: TileMode.mirror,
colors: <Color>[
Colors.pink, // protom color kaj kore na
Colors.red,
Colors.yellow,
],
).createShader(bounds);
},
child: Center(
child: Text(
'Allaho Akbe',
style: TextStyle(color: Colors.white, fontSize: 30),
),
),
),
0 মন্তব্যসমূহ