|
|
@ -11,6 +11,11 @@ extension NumExt on num {
|
|
|
|
///获取 EdgeInsets.all
|
|
|
|
///获取 EdgeInsets.all
|
|
|
|
EdgeInsets get edge => EdgeInsets.all(this.w);
|
|
|
|
EdgeInsets get edge => EdgeInsets.all(this.w);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EdgeInsets pading(double horizontal, double vertical) => EdgeInsets.symmetric(
|
|
|
|
|
|
|
|
horizontal: horizontal,
|
|
|
|
|
|
|
|
vertical: vertical,
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
///圆角
|
|
|
|
///圆角
|
|
|
|
BorderRadius get radius => BorderRadius.circular(this.w);
|
|
|
|
BorderRadius get radius => BorderRadius.circular(this.w);
|
|
|
|
|
|
|
|
|
|
|
|