Draft.yellow constructor

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

Implementation

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