Answers for "how to vibrate phone flutter"

1

how to vibrate phone flutter

Hey, Lemme Help You
First add this dependency in your pubspec.yaml

	   vibration: ^1.7.3
       
then import the library:

	   import 'package:vibration/vibration.dart';
       
then use this is code in an async function:

	if (await Vibration.hasVibrator()) {
    	Vibration.vibrate();
	}
Posted by: Guest on April-09-2021
0

how to vibrate phone flutter

import 'package:vibration/vibration.dart';
Posted by: Guest on April-09-2021
0

how to vibrate phone flutter

if (await Vibration.hasVibrator()) {
    Vibration.vibrate();
}
Posted by: Guest on April-09-2021
0

how to vibrate phone flutter

dependencies:
   vibration: ^1.7.3
Posted by: Guest on April-09-2021

Code answers related to "how to vibrate phone flutter"

Browse Popular Code Answers by Language