NZCodeView constructor

const NZCodeView({
  1. Key? key,
  2. required String code,
  3. NZCodeTheme theme = NZCodeTheme.githubLight,
  4. double fontSize = 13.0,
  5. EdgeInsets padding = const EdgeInsets.all(16.0),
  6. bool showLineNumbers = true,
  7. bool showCopyButton = true,
})

Implementation

const NZCodeView({
  super.key,
  required this.code,
  this.theme = NZCodeTheme.githubLight,
  this.fontSize = 13.0,
  this.padding = const EdgeInsets.all(16.0),
  this.showLineNumbers = true,
  this.showCopyButton = true,
});