menu
nimble_charts package
documentation
flutter.dart
ColorExtensions
toDartColor method
toDartColor method
dark_mode
light_mode
toDartColor
method
Color
toDartColor
(
)
Converts a common color to a Flutter color.
Implementation
ui.Color toDartColor() => ui.Color.fromARGB(a, r, g, b);
nimble_charts package
documentation
flutter
ColorExtensions
toDartColor method
ColorExtensions extension on
Color