import 'package:flutter/material.dart';
import 'package:flutter_phone_direct_caller/flutter_phone_direct_caller.dart';
void main() {
runApp(Scaffold(
body: Center(
child: RaisedButton(
onPressed: _callNumber,
child: Text('Call'),
),
),
));
}
_callNumber() async{
const number = '0911234567';
bool res = await FlutterPhoneDirectCaller.callNumber(number);
}