screen_retriever icon indicating copy to clipboard operation
screen_retriever copied to clipboard

fix: null check in `ScreenRetriever._handleScreenEvent`

Open MSOB7YY opened this issue 1 month ago • 0 comments

for some reason, the type in ScreenRetriever._handleScreenEvent() can be null. just added a quick null check

exception details:

type 'Null' is not a subtype of type 'String' in type cast => _TypeError
=> #0      ScreenRetriever._handleScreenEvent (package:screen_retriever/src/screen_retriever.dart:15:33)

MSOB7YY avatar Nov 28 '25 18:11 MSOB7YY