NZCodeView constructor
const
NZCodeView({
- Key? key,
- required String code,
- NZCodeTheme theme = NZCodeTheme.githubLight,
- double fontSize = 13.0,
- EdgeInsets padding = const EdgeInsets.all(16.0),
- bool showLineNumbers = true,
- 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,
});