flutterx_reflection 1.0.0-dev copy "flutterx_reflection: ^1.0.0-dev" to clipboard
flutterx_reflection: ^1.0.0-dev copied to clipboard

unlistedoutdated

Allows to instantiate classes at runtime without using dart mirror

flutterx_reflection #

Allows to instantiate classes at runtime without using dart mirror

Install #

Add a line like this to your package's pubspec.yaml (and run dart pub get):

dependencies:
  flutterx_reflection: ^1.0.0-dev
dev_dependencies:
  build_runner: ^2.0.4
  build_verify: ^2.0.0
  flutterx_reflection_codegen: ^1.0.0-dev

Create a file like this named build.yaml

targets:
  $default:
    builders:
      flutterx_reflection_codegen|framework_generator:
        generate_for:
          - lib/framework/flutter_sdk.dart

Import #

Import the library like this:

import 'package:flutterx_reflection/flutterx_reflection.dart';

Usage #

Check the documentation in the desired source file of this library

1
likes
0
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

Allows to instantiate classes at runtime without using dart mirror

Repository (GitLab)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, flutterx_utils

More

Packages that depend on flutterx_reflection