0 purchases
vibration type
This plugin allows Flutter apps for IOS to access the types of vibrations available in the operating system.
Platform Support #
Android
iOS
MacOS
Web
Linux
Windows
x
✔️
x
x
x
x
Required: #
add to Podfile
platform :ios, '13.0'
copied to clipboard
How to use: #
import 'package:vibration_type/vibration_type.dart';
copied to clipboard
Impact vibration: #
enum ImpactVibrationType { soft, light, medium, heavy, rigid }
VibrationType().impactVibration(ImpactVibrationType.heavy);
copied to clipboard
Notification vibration: #
enum NotificationVibrationType { success, error, warning }
VibrationType().notificationVibration(NotificationVibrationType.warning);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.