CssBoxWidget.withInlineSpanChildren constructor
CssBoxWidget.withInlineSpanChildren({
- Key? key,
- required List<
InlineSpan> children, - required CSS3 style,
- TextDirection? textDirection,
- bool childIsReplaced = false,
- bool shrinkWrap = false,
- bool selectable = false,
- TextSelectionControls? selectionControls,
- ScrollPhysics? scrollPhysics,
Implementation
CssBoxWidget.withInlineSpanChildren({
super.key,
required List<InlineSpan> children,
required this.style,
this.textDirection,
this.childIsReplaced = false,
this.shrinkWrap = false,
bool selectable = false,
TextSelectionControls? selectionControls,
ScrollPhysics? scrollPhysics,
}) : child = selectable
? _generateSelectableWidgetChild(
children,
style,
selectionControls,
scrollPhysics,
)
: _generateWidgetChild(children, style);