uniformPadding method

  1. @widgetFactory
Widget uniformPadding([
  1. Set<Edge> edges = Edges.all,
  2. double? amount
])

Adds an equal amount of padding to specific edges of this widget.

Implementation

@widgetFactory
Widget uniformPadding([Set<Edge> edges = Edges.all, double? amount]) {
  return UniformPadding(
    edges: edges,
    amount: amount,
    child: this,
  );
}