nitro_webgpu 0.0.1
nitro_webgpu: ^0.0.1 copied to clipboard
WebGPU for Flutter built on Nitro: GPU compute and rendering from Dart with one API on every platform. Dual wgpu-native/Dawn backends, WGSL and GLSL shaders at runtime, zero-copy presentation widgets [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add nitro_webgpuThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
nitro_webgpu: ^0.0.1Alternatively, 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:nitro_webgpu/nitro_webgpu.dart';