buildErrorWidget static method
获取错误提示widget
Implementation
static Widget buildErrorWidget(String error, FormItemConfig themeData) {
return Offstage(
offstage: error.isEmpty,
child: Container(
padding: errorEdgeInsets(themeData),
child: Text(error, style: getErrorTextStyle(themeData)),
),
);
}