menu
roy_casual_kit package
documentation
presentation/game/roy_game.dart
SparkleParticle
getAlpha method
getAlpha method
dark_mode
light_mode
getAlpha
method
int
getAlpha
(
{
Object
?
paintId
,
})
inherited
Returns the current opacity.
Implementation
int getAlpha({T? paintId}) { return getPaint(paintId).color.a ~/ 255; }
roy_casual_kit package
documentation
presentation/game/roy_game
SparkleParticle
getAlpha method
SparkleParticle class