SeoConstrainedBox constructor

const SeoConstrainedBox({
  1. Key? key,
  2. Widget? child,
  3. required BoxConstraints constraints,
  4. void onTap()?,
})

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

Implementation

const SeoConstrainedBox({
  super.key,
  this.child,
  required this.constraints,
  this.onTap,
});