Skip to content

How to migration to dart 2? #1

Description

@granoeste

Flutter’s second beta has Dart 2 enabled by default.
How to migration to dart 2?

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following StoreProviderError was thrown building StoreConnector<dynamic, dynamic>(dirty):
Error: No StoreProvider found. To fix, please try:

  • Using Dart 2 (required) by using the --preview-dart-2 flag
  • Wrapping your MaterialApp with the StoreProvider, rather than an individual Route
  • Providing full type information to your Store, StoreProvider and
    StoreConnector<State, ViewModel>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions