BsFigure constructor
const
BsFigure({
- Key? key,
- required Widget image,
- Widget? caption,
- AlignmentGeometry? captionAlignment,
- EdgeInsetsGeometry margin = const EdgeInsets.only(bottom: BsSpacing.s3),
- 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),
});