BsFigure constructor

const BsFigure({
  1. Key? key,
  2. required Widget image,
  3. Widget? caption,
  4. AlignmentGeometry? captionAlignment,
  5. EdgeInsetsGeometry margin = const EdgeInsets.only(bottom: BsSpacing.s3),
  6. EdgeInsetsGeometry imageMargin = const EdgeInsets.only(bottom: BsSpacing.s2),
})

Creates a Bootstrap figure.

Implementation

const BsFigure({
  super.key,
  required this.image,
  this.caption,
  this.captionAlignment,
  this.margin = const EdgeInsets.only(bottom: BsSpacing.s3),
  this.imageMargin = const EdgeInsets.only(bottom: BsSpacing.s2),
});