social_feed_reaction 0.0.1+1 social_feed_reaction: ^0.0.1+1 copied to clipboard
This is a fully dynamic dart package for incorporating social reactions into your flutter application as needed. Flutter Social Reaction is a fully customizable widget that allows you to pass your fav [...]
import 'package:flutter/material.dart';
import 'package:social_feed_reaction/social_feed_reaction.dart';
void main() => runApp(const MainApp());
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Social feed reaction',
theme: ThemeData(primaryColor: const Color(0xff3b5998)),
debugShowCheckedModeBanner: false,
home: const SocialReactionMainPage(),
);
}
}
class SocialReactionMainPage extends StatelessWidget {
const SocialReactionMainPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text(
'Flutter Social Feed Reaction ',
style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold),
),
centerTitle: true,
),
body: const SocialReactionCollection(),
);
}
}