resolve static method
Resolves padding from TwStyle and TwTheme into EdgeInsets
Implementation
static EdgeInsets resolve(BuildContext context, TwStyle style) {
return TwSpacing.resolve(
context,
style,
getUniform: (s) => s.p,
getX: (s) => s.px,
getY: (s) => s.py,
getLeft: (s) => s.pl,
getRight: (s) => s.pr,
getTop: (s) => s.pt,
getBottom: (s) => s.pb,
);
}