spearly_flutter 0.0.1 copy "spearly_flutter: ^0.0.1" to clipboard
spearly_flutter: ^0.0.1 copied to clipboard

spearly_flutter can easily introduce CMS by Spearly.

example/lib/main.dart

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,
        ),
      ),
    );
  }
}
2
likes
30
pub points
0%
popularity

Publisher

unverified uploader

spearly_flutter can easily introduce CMS by Spearly.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, http, webview_flutter

More

Packages that depend on spearly_flutter