NikuPadding.fromPadding constructor
NikuPadding.fromPadding(
- EdgeInsets padding, {
- required Widget child,
- Key? key,
Implementation
factory NikuPadding.fromPadding(
EdgeInsets padding, {
required Widget child,
Key? key,
}) =>
NikuPadding(
key: key,
child: child,
top: padding.top,
right: padding.right,
bottom: padding.bottom,
left: padding.left,
);