create method

Future<UIColor> create(
  1. Color color
)

Implementation

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