spotlight 1.0.3
spotlight: ^1.0.3 copied to clipboard
This plugin is no longer maintained. Please use [alternative plugin].
Spotlight #
A Flutter plugin to create a spotlight effect, perfect for guiding users through key features or highlighting specific areas in your app.
Preview #
[img_1.png]
Features #
- Highlight any widget or UI element with a customizable spotlight effect.
- Supports animations for smooth transitions.
- Fully customizable appearance (shape, color, border, etc.).
- Easy integration with both Android and iOS.
Supported Platforms #
✅ Android
✅ iOS
✅ Linux
✅ macOS
✅ Windows
Getting Started #
To integrate the spotlight plugin into your Flutter project, simply add it as a dependency in your
pubspec.yaml file and start building captivating user experiences!
This plugin is designed to provide a seamless spotlight effect, highlighting specific widgets across
multiple platforms, including Android, iOS, Linux, macOS, and Windows.
For detailed guidance on Flutter plugin development, visit the Flutter Plugin Documentation.
Installation #
Add this to your pubspec.yaml file:
dependencies:
spotlight: ^1.0.3
## Usage
import 'package:spotlight/spotlight.dart';
// Example usage
final GlobalKey spotlightKey = GlobalKey();
Spotlight(
child: YourWidget(),
shape: SpotlightShape.circle,
color: Colors.black.withOpacity(0.8),
);
For detailed setup and examples, check out the official