BarStyle.forward constructor

BarStyle.forward({
  1. double width = 120,
  2. double height = 5,
  3. Color? color,
  4. Color? background,
  5. Color? identifier,
  6. double identifierWidth = 2.0,
  7. BorderRadius? borderRadius,
})

Implementation

BarStyle.forward({
  this.width = 120,
  this.height = 5,
  Color? color,
  Color? background,
  Color? identifier,
  double identifierWidth = 2.0,
  BorderRadius? borderRadius,
})  : this.identifier = identifier ?? Colors.red,
      this.color = color ?? Colors.white,
      this.secondBackground = Colors.transparent,
      this.background = background ?? Colors.white.withOpacity(0.2),
      this.borderRadius = borderRadius ?? EdgeRadius.all(5.0),
      this.identifierWidth = identifierWidth;