resolve static method
Resolves margin from TwStyle and TwTheme into EdgeInsets
Implementation
static EdgeInsets resolve(BuildContext context, TwStyle style) {
return TwSpacing.resolve(
context,
style,
getUniform: (s) => s.m,
getX: (s) => s.mx,
getY: (s) => s.my,
getLeft: (s) => s.ml,
getRight: (s) => s.mr,
getTop: (s) => s.mt,
getBottom: (s) => s.mb,
);
}