KaeruMarginExtension extension

Shorthand margin helpers via VContainer.

on

Methods

m(double v, [double? y]) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified margin.
mar(EdgeInsetsGeometry p) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified p margin.
mb(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified bottom v margin.
ml(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified left v margin.
mr(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified right v margin.
mt(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified top v margin.
mx(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified horizontal v margin.
my(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified vertical v margin.