Rule constructor

const Rule({
  1. String? text,
  2. String char = '─',
  3. RenderConfig renderConfig = const RenderConfig(),
})

Implementation

const Rule({
  this.text,
  this.char = '─',
  this.renderConfig = const RenderConfig(),
});