defaultUniformPadding method
Sets the defaultUniformPadding to amount
for this widget and its
descendants.
defaultUniformPadding is used by UniformPadding to determine the amount
of padding to add when UniformPadding.amount is null
.
The default value is 8
.
Implementation
@widgetFactory
Widget defaultUniformPadding(double amount) =>
const _DefaultUniformPaddingKey().update(value: amount, child: this);