toEdgeInsets method

EdgeInsets toEdgeInsets()

Implementation

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