CodeField constructor

const CodeField({
  1. Key? key,
  2. required String name,
  3. required String codes,
  4. CodeBlockStyle style = const CodeBlockStyle(),
  5. void onCopy(
    1. String code
    )?,
})

Implementation

const CodeField({
  super.key,
  required this.name,
  required this.codes,
  this.style = const CodeBlockStyle(),
  this.onCopy,
});