getBrushForState method
Implementation
Brush getBrushForState(BarcodePickState state) {
return _brushesForState.firstWhere((element) => element.pickState == state).brush;
}
Brush getBrushForState(BarcodePickState state) {
return _brushesForState.firstWhere((element) => element.pickState == state).brush;
}