get_web_renderer 1.2.1 copy "get_web_renderer: ^1.2.1" to clipboard
get_web_renderer: ^1.2.1 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 Dart:

 $ dart pub add get_web_renderer

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 dart pub get):

dependencies:
  get_web_renderer: ^1.2.1

Alternatively, 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:get_web_renderer/get_web_renderer.dart';
0
likes
160
points
90
downloads

Publisher

verified publisherlamnhan.dev

Weekly Downloads

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)

More

Packages that depend on get_web_renderer