app_center_bundle_sdk 0.0.2 app_center_bundle_sdk: ^0.0.2 copied to clipboard
A Bundle for App Center SDK, with this you can use AppCenter Analytics, AppCenter Crash and AppCenter Distribute
import 'package:app_center_bundle_sdk/app_center_bundle_sdk.dart';
import 'package:flutter/material.dart';
void main() {
AppCenter.startAsync(
appSecretAndroid: "appSecretAndroid", appSecretIOS: "appSecretIOS");
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: Text('App center SDK test'),
),
),
);
}
}