CumulativeLabelStyle constructor

const CumulativeLabelStyle({
  1. TextStyle textStyle = const TextStyle(color: Colors.white, fontSize: 14.0, fontWeight: FontWeight.bold),
  2. Color containerColor = Colors.black87,
  3. double cornerRadius = 16.0,
  4. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
  5. double offsetX = 0.0,
  6. double offsetY = -10.0,
})

Implementation

const CumulativeLabelStyle({
  this.textStyle = const TextStyle(
    color: Colors.white,
    fontSize: 14.0,
    fontWeight: FontWeight.bold,
  ),
  this.containerColor = Colors.black87,
  this.cornerRadius = 16.0,
  this.padding = const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
  this.offsetX = 0.0,
  this.offsetY = -10.0,
});