RenderBloomLeafText constructor

RenderBloomLeafText({
  1. required String textFn(),
  2. required BloomComputedStyle style,
})

Creates a RenderBloomLeafText render object with textFn and style.

Implementation

RenderBloomLeafText({
  required String Function() textFn,
  required BloomComputedStyle style,
})  : _textFn = textFn,
      _style = style {
  _initTextPainter();
}