watermark_unique 1.0.5 watermark_unique: ^1.0.5 copied to clipboard
watermark_unique is a flutter package to add text and image watermarks on an image. You can customize the watermark's position, color, background color, and padding.
import 'package:flutter/material.dart';
import 'example.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Center(child: Text('Watermark example')),
),
body: const ExampleWidget(),
),
);
}
}