Skip to content

andrelucassvt/vibration-type-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

How to use:

import 'package:vibration_type/vibration_type.dart';

Impact vibration:

enum ImpactVibrationType { soft, light, medium, heavy, rigid }


VibrationType().impactVibration(ImpactVibrationType.heavy);

Notification vibration:

enum NotificationVibrationType { success, error, warning }

VibrationType().notificationVibration(NotificationVibrationType.warning);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published