CodeField constructor
const
CodeField({
- Key? key,
- required String name,
- required String codes,
- CodeBlockStyle style = const CodeBlockStyle(),
- void onCopy(
- String code
Implementation
const CodeField({
super.key,
required this.name,
required this.codes,
this.style = const CodeBlockStyle(),
this.onCopy,
});