frideosapps / frideos_flutter

An all-in-one Fllutter package for state management, reactive objects, animations, effects, timed widgets etc.

Home Page:https://pub.dev/packages/frideos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seem to be not supported web

docbohanh opened this issue · comments

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!

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.