dynamic_island_watermark
A Flutter package that adds a subtle watermark on screenshots behind the Dynamic Island on supported iPhone models. Perfect for growth-hacking or adding helpful information in screenshots. This package does nothing on devices without a dynamic island.
Motivation
The Dynamic Island on iPhone models like the Pro series is a unique, interactive UI feature. Adding a watermark behind the Dynamic Island helps you:
- Growth hack: A/B test new features or promotional content without permanently modifying your UI.
- Debugging: Include version information in screenshot that get sent to you, without making it otherwise user visible
Installation
Add dynamic_island_watermark as a dependency in your pubspec.yaml:
dependencies:
dynamic_island_watermark: ^1.0.0
Then fetch the package:
flutter pub get
Usage
Wrap your app with the DynamicIslandWatermark widget:
import 'package:dynamic_island_watermark/dynamic_island_watermark.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
DynamicIslandWatermark(
watermark: Watermark(),
child: const MyApp(),
),
);
}
Parameters
watermark(Widget): The widget displayed as the watermark.child(Widget): Your app.
Demo
Contributing
Contributions, issues, and feature requests are welcome! Feel free to open an issue or submit a pull request.