BootstrapHeading.h2 constructor

const BootstrapHeading.h2({
  1. Key? key,
  2. required Widget child,
  3. BootstrapHeadingType type = BootstrapHeadingType.none,
  4. double marginTop = 20,
  5. double marginBottom = 10,
  6. Color borderColor = BootstrapColors.grayLighter,
})

Implementation

const BootstrapHeading.h2({
  Key? key,
  required this.child,
  this.type = BootstrapHeadingType.none,
  this.marginTop = 20,
  this.marginBottom = 10,
  this.borderColor = BootstrapColors.grayLighter,
}) : _fontSize = 30;