GridAxis constructor

GridAxis({
  1. GridAxisFormat? format,
  2. TextStyle? textStyle,
  3. double? margin,
  4. double? marginStart,
  5. double? marginEnd,
  6. PdfColor? color,
  7. double? width,
  8. bool? divisions,
  9. double? divisionsWidth,
  10. PdfColor? divisionsColor,
  11. bool? divisionsDashed,
  12. bool? ticks,
  13. bool? axisTick,
  14. double angle = 0,
  15. GridAxisBuildLabel? buildLabel,
})

Implementation

GridAxis({
  GridAxisFormat? format,
  this.textStyle,
  this.margin,
  double? marginStart,
  double? marginEnd,
  PdfColor? color,
  double? width,
  bool? divisions,
  double? divisionsWidth,
  PdfColor? divisionsColor,
  bool? divisionsDashed,
  bool? ticks,
  bool? axisTick,
  this.angle = 0,
  this.buildLabel,
})  : format = format ?? _defaultFormat,
      color = color ?? PdfColors.black,
      width = width ?? 1,
      divisions = divisions ?? false,
      divisionsWidth = divisionsWidth ?? .5,
      divisionsColor = divisionsColor ?? PdfColors.grey,
      _marginStart = marginStart ?? 0,
      _marginEnd = marginEnd ?? 0,
      ticks = ticks ?? false,
      _axisTick = axisTick,
      divisionsDashed = divisionsDashed ?? false,
      direction = Axis.horizontal;