image_painter 0.7.0 image_painter: ^0.7.0 copied to clipboard
A flutter package for drawing over images. Supports color, strokeWidth, different paintModes and exporting image.
import 'package:flutter/material.dart';
import 'package:image_painter_example/mobile_example.dart';
void main() => runApp(ExampleApp());
class ExampleApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Image Painter Example',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: ImagePainterExample(),
);
}
}
class ImagePainterExample extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MobileExample();
}
}