ray 0.0.1 ray: ^0.0.1 copied to clipboard
Dart implementation of ray client for debugging dart apps faster on the fly.
ray #
Dart implementation of ray client for debugging dart apps faster on the fly.
Installation #
Add this package to your pubspec.yaml
in dependencies:
section
dependencies:
ray: ^0.0.1
Update dependencies
flutter pub get
Now in your Dart
code, you can use:
import 'package:ray/ray.dart';
Initialize Ray
with your config
main(){
Ray.init(
enabled: true,
host: '192.168.50.45'
);
}
host
is your development machine's IP where Ray App is running
Usage #
use ray()
helper to send values
ray('Hello from Flutter');
ray('This is green message').green();
ray().notify('Notification content here');
ray().clearAll();
ray().newScreen();
ray().newScreen('Screen');
ray().showApp();
ray().hideApp();
Meta #
Atiq Samtia– @AtiqSamtia – hi@atiq.dev
Distributed under the MIT license.
https://github.com/atiqsamtia/dart-ray
Contributing #
- Fork it (https://github.com/atiqsamtia/dart-ray/fork)
- Clone it (
git clone https://github.com/YOUR_GITHUB_USERNAME/dart-ray.git
) - Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request