create method

Future<UIColor> create(
  1. Color color
)

Implementation

static Future<UIColor> create(Color color) async {
  final refId = await kMethodChannel
      .invokeMethod('UIColor::create', {'colorValue': color.value});
  return UIColor()
    ..refId = refId
    ..tag__ = 'platform';
}