spearly_flutter 0.0.1 spearly_flutter: ^0.0.1 copied to clipboard
spearly_flutter can easily introduce CMS by Spearly.
import 'package:flutter/material.dart';
import 'package:spearly_flutter/spearly_flutter.dart';
void main() {
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 Spearly Flutter'),
),
body: SpearlyFlutter(
apiKey: "Bearer xxxxx",
contentId: "c-yyyyy",
disableImage: true,
),
),
);
}
}