setMargin method

  1. @override
void setMargin(
  1. FlexStyleEdge spacingType,
  2. double margin
)
override

Implementation

@override
void setMargin(FlexStyleEdge spacingType, double margin) {
  // 注意,设置宽高margin不直接改变flex node的属性值,在native层cssLayout后属性值由底层传上来设置
  _flexNodeStyle.setMargin(spacingType, margin);
}