getBrushForState method

Brush getBrushForState(
  1. BarcodePickState state
)

Implementation

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