flutter_parse 0.1.2 flutter_parse: ^0.1.2 copied to clipboard
Flutter plugin for managing Parse SDK for both Android and iOS.
import 'package:flutter/material.dart';
import 'package:flutter_parse/flutter_parse.dart';
void main() async {
await FlutterParse.initialize(
server: 'YOUR_PARSE_SERVER_URL',
applicationId: 'YOUR_PARSE_APPLICATION_ID',
clientKey: 'YOUR_PARSE_CLIENT_KEY');
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: Text('Flutter Parse Example'),
),
),
);
}
}