SunnyPad.vertical constructor

SunnyPad.vertical({
  1. Key? key,
  2. Widget? child,
  3. Color? color,
  4. bool? dense,
  5. bool? opaque,
})

Implementation

SunnyPad.vertical({Key? key, this.child, Color? color, bool? dense, bool? opaque})
    : padding = dense == true ? sunnySpacing.vert / 2 : sunnySpacing.vert,
      color = opaque == true ? sunnyColors.white : color,
      super(key: key);