inspectable_property 0.0.3 copy "inspectable_property: ^0.0.3" to clipboard
inspectable_property: ^0.0.3 copied to clipboard

Add reflection-like runtime inspection to your Dart classes. Mix in Inspectable and use the Inspector widget to view and edit typed properties — no code generation required.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add inspectable_property

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  inspectable_property: ^0.0.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:inspectable_property/editor_base.dart';
import 'package:inspectable_property/editors/editor_bool.dart';
import 'package:inspectable_property/editors/editor_double.dart';
import 'package:inspectable_property/editors/editor_enum.dart';
import 'package:inspectable_property/editors/editor_int.dart';
import 'package:inspectable_property/editors/editor_string.dart';
import 'package:inspectable_property/inspectable.dart';
import 'package:inspectable_property/inspector.dart';
0
likes
160
points
119
downloads

Documentation

API reference

Publisher

verified publisherleal.systems

Weekly Downloads

Add reflection-like runtime inspection to your Dart classes. Mix in Inspectable and use the Inspector widget to view and edit typed properties — no code generation required.

Repository (GitHub)
View/report issues

Topics

#reflection #editor

License

BSD-3-Clause (license)

Dependencies

collection, flutter, sprintf

More

Packages that depend on inspectable_property