info_with_comments 2.0.0 copy "info_with_comments: ^2.0.0" to clipboard
info_with_comments: ^2.0.0 copied to clipboard

A new Flutter package project.

this package created as a solution for comment with details & chat app chatbox

Features #

  • comments for artical
  • comments for news
  • chats box

Getting started #

dart pub add info_with_comment

Usage #

MessageView is the main interface designer ManageComment is data like sub comment managing class, you can override it's propertis and methods you can give you own implementation example :

`
class CommentController extends ManageComment {

Color mainCommentBoxColor  = kBlack;
bool showBoxShadow =true;
}`

#UI Implementation

`**class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key);

    // This widget is the root of your application.
    @override
    Widget build(BuildContext context) {
    return MaterialApp(
    debugShowCheckedModeBanner: false,
    title: 'Flutter Demo',
    theme: ThemeData(
    primarySwatch: Colors.blue,
    ),
    home: MessageView(
    currentUserId: "User002",
    commentController: CommentController(), // you can provide your own implement class
    childWidget: Container(),
    ),
    );
    }

you can give child as your own Ui part (childWidget: Container(),)

Additional information #

*you can can comment with image text &react alt text

  • view commented Images alt text

  • multiple image can comment alt text

  • you can comment with image & text alt text

create by : R.M.E.G.B Rathanayaka

Email : rathnayakaegb.soft@gmail.com