margin property

EdgeInsetsGeometry? margin
getter/setter pair

EdgeInsets 的基类,允许文本方向感知分辨率。

此类型的属性或参数接受使用 new EdgeInsets.fromLTRB 及其变体或 new EdgeInsetsDirectional.fromSTEB 及其变体创建的类。

要将不确定类型的 EdgeInsetsGeometry 对象转换为 EdgeInsets 对象, 请调用 resolve 方法。

Base class for EdgeInsets that allows for text-direction aware resolution.

A property or argument of this type accepts classes created either with new EdgeInsets.fromLTRB and its variants, or new EdgeInsetsDirectional.fromSTEB and its variants.

To convert an EdgeInsetsGeometry object of indeterminate type into a EdgeInsets object, call the resolve method.

Implementation

EdgeInsetsGeometry? margin;