beacon_widget 0.3.0
beacon_widget: ^0.3.0 copied to clipboard
Tap a widget in your running Flutter app and get its file:line, theme properties and geometry on your clipboard, ready to paste into an AI coding agent.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate beacon_widgetUse it
The package has the following executables:
$ bridge
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add beacon_widgetWith Flutter:
$ flutter pub add beacon_widgetThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
beacon_widget: ^0.3.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:beacon_widget/beacon_widget.dart';