CodeConfig constructor

CodeConfig({
  1. EdgeInsetsGeometry padding = const EdgeInsets.all(16.0),
  2. Decoration? decoration,
  3. EdgeInsetsGeometry margin = const EdgeInsets.symmetric(vertical: 8.0),
  4. TextStyle? textStyle,
  5. String language = 'dart',
  6. Widget wrapper(
    1. Widget,
    2. String
    )?,
})

Implementation

CodeConfig({
  this.padding = const EdgeInsets.all(16.0),
  this.decoration,
  this.margin = const EdgeInsets.symmetric(vertical: 8.0),
  TextStyle? textStyle,
  this.language = 'dart',
  this.wrapper,
}) : textStyle =
          textStyle ?? TextStyle(fontSize: Rixa.appFonts.small3().fontSize);