ray

Last updated:

0 purchases

ray Image
ray Images
Add to Cart

Description:

ray

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
copied to clipboard
Update dependencies
flutter pub get
copied to clipboard
Now in your Dart code, you can use:
import 'package:ray/ray.dart';
copied to clipboard
Initialize Ray with your config
main(){
Ray.init(
enabled: true,
host: '192.168.50.45'
);
}
copied to clipboard
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();

copied to clipboard
Meta #
Atiq Samtia– @AtiqSamtia – [email protected]
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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.