getPrefixIcon static method
Implementation
static Widget getPrefixIcon(String type) {
if (type == PrefixIconType.add) {
return PhoenixTools.getAssetImageWithBandColor(FormAssets.iconAddFormItem,
package: 'phoenix_form');
} else if (type == PrefixIconType.remove) {
return PhoenixTools.getAssetImage(FormAssets.iconRemoveFormItem,
package: 'phoenix_form');
} else {
return Container();
}
}