get_web_renderer 0.0.1+5 copy "get_web_renderer: ^0.0.1+5" to clipboard
get_web_renderer: ^0.0.1+5 copied to clipboard

An easy way to get the current renderer (HTML or CanvasKit in Web platform and Other for other platforms).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add get_web_renderer

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

dependencies:
  get_web_renderer: ^0.0.1+5

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:get_web_renderer/get_web_renderer.dart';
0
likes
130
pub points
55%
popularity

Publisher

verified publisherlamnhan.dev

An easy way to get the current renderer (HTML or CanvasKit in Web platform and Other for other platforms).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on get_web_renderer