NikuPadding.fromPadding constructor

NikuPadding.fromPadding(
  1. EdgeInsets padding, {
  2. required Widget child,
  3. 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,
    );