RenderEditableTextBlock constructor

RenderEditableTextBlock({
  1. required Block block,
  2. required TextDirection textDirection,
  3. required EdgeInsetsGeometry padding,
  4. required double scrollBottomInset,
  5. required Decoration decoration,
  6. List<RenderEditableBox>? children,
  7. EdgeInsets contentPadding = EdgeInsets.zero,
})

Implementation

RenderEditableTextBlock({
  required Block block,
  required TextDirection textDirection,
  required EdgeInsetsGeometry padding,
  required double scrollBottomInset,
  required Decoration decoration,
  List<RenderEditableBox>? children,
  EdgeInsets contentPadding = EdgeInsets.zero,
})  : _decoration = decoration,
      _configuration = ImageConfiguration(textDirection: textDirection),
      _savedPadding = padding,
      _contentPadding = contentPadding,
      super(
        children: children,
        container: block,
        textDirection: textDirection,
        scrollBottomInset: scrollBottomInset,
        padding: padding.add(contentPadding),
      );