Grid constructor

const Grid({
  1. bool containLabel = false,
  2. AreaStyle style = const AreaStyle(color: Colors.transparent, border: LineStyle(color: Color(0xFFCCCCCC), width: 1)),
  3. ToolTip? toolTip,
  4. SNumber leftMargin = const SNumber.number(0),
  5. SNumber topMargin = const SNumber.number(0),
  6. SNumber rightMargin = const SNumber.number(0),
  7. SNumber bottomMargin = const SNumber.number(0),
  8. SNumber? width,
  9. SNumber? height,
  10. String id = '',
  11. bool show = true,
})

Implementation

const Grid({
  this.containLabel = false,
  this.style = const AreaStyle(
    color: Colors.transparent,
    border: LineStyle(color: Color(0xFFCCCCCC), width: 1),
  ),
  this.toolTip,
  this.leftMargin = const SNumber.number(0),
  this.topMargin = const SNumber.number(0),
  this.rightMargin = const SNumber.number(0),
  this.bottomMargin = const SNumber.number(0),
  this.width,
  this.height,
  this.id='',
  this.show=true,
});