isolate_generator 0.0.5+2 copy "isolate_generator: ^0.0.5+2" to clipboard
isolate_generator: ^0.0.5+2 copied to clipboard

flutter and dart code generator package for generating Isolate code for your classes.

example/example.md

Open full example in github

import 'dart:ui';

import 'package:isolate_generator_annotation/isolate_generator_annotation.dart';

part 'image_isolate.g.dart';

@GenerateIsolate()
class MyClass {
  int sum(int a, int b) {
    return a + b;
  }

  Stream<int> streamRang({required int count}) async* {
    for (var i = 0; i < count; i++) {
      yield i;
    }
  }
}
2
likes
140
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

flutter and dart code generator package for generating Isolate code for your classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, isolate_generator_annotation, source_gen

More

Packages that depend on isolate_generator