SunnyPad.horizontal constructor

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

Implementation

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