fromRoundNative static method
Creates a GxRect from a RRect
assigning the GxRectCornerRadius
properties from the tr, tl, br, bl radiusX axis.
Implementation
static GRect fromRoundNative(RRect nativeRect) {
return GRect(
nativeRect.left,
nativeRect.top,
nativeRect.width,
nativeRect.height,
)..corners!.setTo(
nativeRect.tlRadiusX,
nativeRect.trRadiusX,
nativeRect.brRadiusX,
nativeRect.blRadiusX,
);
}