BoxDecoration constructor

const BoxDecoration({
  1. Style? backgroundStyle,
  2. Color? backgroundColor,
  3. Border? border,
})

Creates a new BoxDecoration.

Implementation

const BoxDecoration({
  this.backgroundStyle,
  this.backgroundColor,
  this.border,
});