flutter_fb_news 1.1.2+1 copy "flutter_fb_news: ^1.1.2+1" to clipboard
flutter_fb_news: ^1.1.2+1 copied to clipboard

discontinued
outdated

Flutter plugin for displaying Facebook page feed with photos and videos

example/lib/main.dart

// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:flutter_fb_news/flutter_fb_news.dart';
import 'package:flutter_fb_news/flutter_fb_news_config.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'flutter_fb_news example',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("flutter_fb_news example"),
      ),
      body: Center(
        child: Scrollbar(
          child: SingleChildScrollView(
            child: FbNews(
              accesToken: "xyz",
              pageId: "1234567890",
              limit: 25,
              config: FbNewsConfig(
                borderColor: Colors.black,
                backgroundColor: Colors.white,
                textColor: Colors.black,
                subtitle: "von Facebook",
              ),
            ),
          ),
        ),
      ),
    );
  }
}
16
likes
0
pub points
35%
popularity

Publisher

verified publishercedtegapps.de

Flutter plugin for displaying Facebook page feed with photos and videos

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

carousel_slider, chewie, flutter, flutter_linkify, http, url_launcher, video_player

More

Packages that depend on flutter_fb_news