Examples

Create an image, set pixel values, save it to a PNG.

import 'dart:io';
import 'package:image/image.dart' as img;
void main() async {
  final calculator = Calculator();
  expect(calculator.addOne(2), 3);
  expect(calculator.addOne(-7), -6);
  expect(calculator.addOne(0), 1);
}

Libraries

dart_test_angle