toEdgeInsets method
Implementation
EdgeInsets toEdgeInsets() {
return EdgeInsets.symmetric(
vertical: this.height?.toDouble() ?? 0.0,
horizontal: this.width?.toDouble() ?? 0.0,
);
}
EdgeInsets toEdgeInsets() {
return EdgeInsets.symmetric(
vertical: this.height?.toDouble() ?? 0.0,
horizontal: this.width?.toDouble() ?? 0.0,
);
}