RoundedContainer constructor

const RoundedContainer({
  1. Key? key,
  2. required Widget child,
  3. double radius = 16,
  4. double padding = 8,
  5. double margin = 0,
  6. int? height,
  7. int? width,
  8. Color? color,
  9. ValueNotifier<BoxShadow>? shadow,
  10. Border? border,
})

Creates a RoundedContainer widget.

The child parameter must not be null.

Implementation

const RoundedContainer({
  super.key,
  required this.child,
  this.radius = 16,
  this.padding = 8,
  this.margin = 0,
  this.height,
  this.width,
  this.color,
  this.shadow,
  this.border,
});