RenderEditableTextBlock constructor
RenderEditableTextBlock({
- required Block block,
- required TextDirection textDirection,
- required EdgeInsetsGeometry padding,
- required double scrollBottomInset,
- required Decoration decoration,
- List<
RenderEditableBox> ? children, - 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),
);