toRGBAi static method
(en)Converts the int value specified from 0 to 255 to RGBA.
(ja)0~255で指定したint値をRGBAに変換します。
r
: red.g
: green.b
: blue.o
: opacity.
Returns Color obj.
Implementation
static Color toRGBAi(int r, int g, int b, {int o = 255}) {
return Color.fromARGB(o, r, g, b);
}