build method
BlockComponentWidget
build(
- BlockComponentContext blockComponentContext
)
Implementation
@override
BlockComponentWidget build(BlockComponentContext blockComponentContext) {
final node = blockComponentContext.node;
return CodeBlockComponentWidget(
key: node.key,
node: node,
configuration: configuration,
padding: padding,
showActions: showActions(node),
actionBuilder: (_, state) => actionBuilder(blockComponentContext, state),
actionWrapperBuilder: actionWrapperBuilder,
style: styleBuilder?.call(),
languagePickerBuilder: languagePickerBuilder,
actions: actions,
copyButtonBuilder: copyButtonBuilder,
localizations: localizations,
showLineNumbers: showLineNumbers,
);
}