byferdi42
Results
2
comments of
byferdi42
of course > import 'dart:async'; > > import 'package:fluttertoast/fluttertoast.dart'; > import 'package:vibration/vibration.dart'; > > class VibrationManager { > static VibrationManager _instance; > bool hasVibrator = false; > > VibrationManager._init(); >...
> If you just need the device to vibrate, try without any arguments :`.vibrate()`. Also, `hasVibrator` is a Future, so it has to be awaited. > > Yeah same for...