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

outdated

A flutter package for Isolate code generation.

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
0
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package for Isolate code generation.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, flutter, isolate_generator_annotation, source_gen

More

Packages that depend on isolate_generator