portsip 0.0.1
portsip: ^0.0.1 copied to clipboard
A Flutter plugin for integrating the PortSIP VoIP SDK, enabling SIP-based voice and video communications in your applications.
import 'package:flutter/material.dart';
import 'package:portsip_example/router.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(const ExampleApp());
}
class ExampleApp extends StatelessWidget {
const ExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp.router(
title: 'PortSIP Example',
theme: ThemeData(primarySwatch: Colors.blue, useMaterial3: true),
routerConfig: AppRouter.router,
);
}
}