BrushOption constructor
const
BrushOption({
- bool showBackground = true,
- bool translatable = false,
- List<
BrushColor> colors = const [BrushColor(color: Colors.black, background: Colors.white), BrushColor(color: Colors.white), BrushColor(color: Colors.blue), BrushColor(color: Colors.green), BrushColor(color: Colors.pink), BrushColor(color: Colors.purple), BrushColor(color: Colors.brown), BrushColor(color: Colors.indigo)],
Implementation
const BrushOption({
this.showBackground = true,
this.translatable = false,
this.colors = const [
BrushColor(color: Colors.black, background: Colors.white),
BrushColor(color: Colors.white),
BrushColor(color: Colors.blue),
BrushColor(color: Colors.green),
BrushColor(color: Colors.pink),
BrushColor(color: Colors.purple),
BrushColor(color: Colors.brown),
BrushColor(color: Colors.indigo),
],
});