benjamindean / flutter_vibration

Handle vibration on iOS and Android in Flutter apps
219 stars 68 forks source link

Widget tests on vibration plugin #19

Closed flutteradv closed 4 years ago

flutteradv commented 4 years ago

what is the name for MethodChannel ? I used following package name in widget tests with no success:

MethodChannel channel =
      const MethodChannel('com.benjaminabel.vibration');
  channel.setMockMethodCallHandler((MethodCall methodCall) async {
    print("=============>>>>> $methodCall  <<<<<===================");
  });
benjamindean commented 4 years ago

Hey! It's just vibration as specified here.

flutteradv commented 4 years ago

sorry I just found now thanks a lot