Throw error when using the selector failed
Merge pull request #4 from dawanda/stateful-widget-throw-wrong-selector

Let StatefulWidget throw an error when using the selector failed