titleEdgeInsetsForHead static method

EdgeInsets titleEdgeInsetsForHead(
  1. bool isRequire,
  2. FormItemConfig themeData
)

标题行的左间距

Implementation

static EdgeInsets titleEdgeInsetsForHead(
    bool isRequire, FormItemConfig themeData) {
  return isRequire ? themeData.titlePaddingSm : themeData.titlePaddingLg;
}