CodeSnippet constructor

const CodeSnippet({
  1. Key? key,
  2. BoxConstraints? constraints,
  3. List<Widget> actions = const [],
  4. required String code,
  5. required String mode,
})

Implementation

const CodeSnippet({
  super.key,
  this.constraints,
  this.actions = const [],
  required this.code,
  required this.mode,
});