Open
Description
I want to use rsocket with my Flutter App.
Expected Behavior
I shall import shelf
normally
import 'package:rsocket/shelf.dart';
Actual Behavior
Simply importing this library in a Flutter project causes problem.
import 'dart:mirrors';
So as this library is using it inside route
, Flutter crashes.
Steps to Reproduce
To reproduce it, just import the library inside a Flutter project:
import 'package:rsocket/shelf.dart';
Possible Solution
We might use reflectable
instead of dart:mirrors
as said in the Library here.
Your Environment
rsocket: ^0.1.2
Flutter 2.0.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 1d9032c7e1 (3 weeks ago) • 2021-04-29 17:37:58 -0700
Engine • revision 05e680e202
Tools • Dart 2.12.3
Metadata
Metadata
Assignees
Labels
No labels