paint_extension library

Extensions

ExOffset on Offset
ExPaint on Paint
Paint扩展copyWith
ExRadius on Radius
ExRect on Rect

Functions

jsonToOffset(Map<String, dynamic> data) Offset
jsonToPaint(Map<String, dynamic> data) Paint
jsonToRadius(Map<String, dynamic> data) Radius
jsonToRect(Map<String, dynamic> data) Rect
stringToColor(String data) Color?
stringToColorFilter(String data) ColorFilter?
stringToImageFilter(String data) ImageFilter?
stringToMaskFilter(String data) MaskFilter?