createNativeSubViewAttribute method
自定义模版参数
Implementation
Map createNativeSubViewAttribute(double width, double height,
{double x = 0,
double y = 0,
String backgroundColorStr = '#FFFFFF',
String textColorStr = '#000000',
double textSize = 15,
bool isCustomClick = true}) {
return {
'x': x,
'y': y,
'width': width,
'height': height,
'backgroundColorStr': backgroundColorStr,
'textColorStr': textColorStr,
'textSize': textSize,
'isCustomClick': isCustomClick,
};
}