frideosapps / frideos_flutter

An all-in-one Fllutter package for state management, reactive objects, animations, effects, timed widgets etc.
https://pub.dev/packages/frideos
BSD 2-Clause "Simplified" License
189 stars 22 forks source link

Seem to be not supported web #9

Open docbohanh opened 4 years ago

docbohanh commented 4 years ago

Hello frideos team,

I try to build web application, but it stuck with error:

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following UnsupportedError was thrown building _InheritedState:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  _InheritedState
  file:///Users/macbook/flutter/.pub-cache/hosted/pub.dartlang.org/frideos-1.0.0+1/lib/src/app_state_provider.dart:51:7

Please help me check it again, thank you!

clockwiser commented 3 years ago

frideos 1.0.1 seems to work on web. But it doesn't support null safe. Warnings pop up: The library 'package:frideos/frideos.dart' is legacy, and should not be imported into a null safe library.