CodeBlockStyle constructor
const
CodeBlockStyle({
- Color? backgroundColor,
- Color? borderColor,
- double? borderWidth,
- Radius? borderRadius,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? headerPadding,
- String? fontFamily,
- String? fontFamilyPackage,
- double? fontSize,
- Color? textColor,
- bool? showLanguageLabel,
- TextStyle? languageStyle,
- bool? showCopyButton,
- String? copyLabel,
- String? copiedLabel,
Creates a CodeBlockStyle. Null fields defer to the theme, then to the default.
Implementation
const CodeBlockStyle({
this.backgroundColor,
this.borderColor,
this.borderWidth,
this.borderRadius,
this.padding,
this.headerPadding,
this.fontFamily,
this.fontFamilyPackage,
this.fontSize,
this.textColor,
this.showLanguageLabel,
this.languageStyle,
this.showCopyButton,
this.copyLabel,
this.copiedLabel,
});