Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 302 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 302 Bytes

phone_state_i

Listen to Phone Call State and provide call back

import 'package:phone_state_i/phone_state_i.dart';

phoneStateCallEvent.listen((PhoneStateCallEvent event) {
      print('Call is Incoming/Connected' + event.stateC);
      //event.stateC has values "true" or "false"
});