SeoContainer constructor

const SeoContainer({
  1. Key? key,
  2. Widget? child,
  3. AlignmentGeometry? alignment,
  4. EdgeInsetsGeometry? padding,
  5. Color? color,
  6. Decoration? decoration,
  7. Decoration? foregroundDecoration,
  8. double? width,
  9. double? height,
  10. BoxConstraints? constraints,
  11. EdgeInsetsGeometry? margin,
  12. void onTap()?,
})

Creates a SeoContainer that works like a normal Container but also outputs an HTML <div> for SEO.

Implementation

const SeoContainer({
  super.key,
  this.child,
  this.alignment,
  this.padding,
  this.color,
  this.decoration,
  this.foregroundDecoration,
  this.width,
  this.height,
  this.constraints,
  this.margin,
  this.onTap,
});