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. ImageConfiguration configuration = ImageConfiguration.empty,
  8. EdgeInsets contentPadding = EdgeInsets.zero,
})

Implementation

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