Draft.green constructor

Draft.green({
  1. String text = 'green',
  2. Key? key,
})

Implementation

factory Draft.green({String text = 'green', Key? key}) {
  return Draft(
      text: text,
      color: Colors.green[300]!,
      borderColor: Colors.green[700]!,
      key: key);
}