FlutstrapContainer constructor

const FlutstrapContainer({
  1. Key? key,
  2. required Widget child,
  3. bool fluid = false,
  4. EdgeInsetsGeometry? padding,
  5. EdgeInsetsGeometry? margin,
  6. Color? color,
  7. Decoration? decoration,
  8. double? width,
  9. double? height,
  10. AlignmentGeometry? alignment,
  11. Clip clipBehavior = Clip.none,
})

Implementation

const FlutstrapContainer({
  super.key,
  required this.child,
  this.fluid = false,
  this.padding,
  this.margin,
  this.color,
  this.decoration,
  this.width,
  this.height,
  this.alignment,
  this.clipBehavior = Clip.none,
}) : assert(color == null || decoration == null,
          'Cannot provide both color and decoration');