menu
innerlibs
color_extensions.dart
ColorExtensions
<
T extends Color
>
floatToInt8 method
floatToInt8
dark_mode
light_mode
floatToInt8
method
int
floatToInt8
(
double
x
)
Implementation
int floatToInt8(double x) { return (x * 255.0).round() & 0xff; }
innerlibs
color_extensions
ColorExtensions
<
T extends Color
>
floatToInt8 method
ColorExtensions extension on T