CenteredBoxDecoration constructor

const CenteredBoxDecoration({
  1. Key? key,
  2. Widget? child,
  3. EdgeInsets insets = const EdgeInsets.all(0),
  4. double margin = 0,
  5. double borderRadius = 10,
  6. double borderWidth = 5,
  7. required Color color,
})

Implementation

const CenteredBoxDecoration({
  super.key,
  this.child,
  this.insets = const EdgeInsets.all(0),
  this.margin = 0,
  this.borderRadius = 10,
  this.borderWidth = 5,
  required this.color,
});