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

unlisted

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: ^xyz
dev_dependencies:
  build_runner: ^xyz
  build_verify: ^xyz
  flutterx_reflection_codegen: ^xyz

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
100
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

Allows to instantiate classes at runtime without using dart mirror

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, flutter, flutterx_utils

More

Packages that depend on flutterx_reflection