RenderEditableTextBlock constructor
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,
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),
);