num ext fix padding name

null_safety
小赖 4 years ago
parent 1b170db87a
commit 0c8f130af9

@ -11,7 +11,7 @@ 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( EdgeInsets pading(double horizontal, [double vertical]) => EdgeInsets.symmetric(
horizontal: horizontal, horizontal: horizontal,
vertical: vertical, vertical: vertical,
); );

Loading…
Cancel
Save