switchable_padding library

Classes

SwitchablePadding
A widget that adds calculated padding to the child according to the given BoxConstraints.

Typedefs

PaddingFunction = EdgeInsetsGeometry Function(BoxConstraints constraints)
Function to calculate EdgeInsetsGeometry from BoxConstraints.