Skip to content

Hey i have just created a chat bubble Widget in flutter using custom paint.

License

Notifications You must be signed in to change notification settings

ditheshthegreat/FlutterChatBubble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FlutterChatBubble

Hey i have just created a chat bubble Widget in flutter using custom paint.

Copy and paste the ChatBubble.dart file in your project and paste this code where you have to show chatBubble Widget

Align(
      alignment: alignment, //Change this to Alignment.topRight or Alignment.topLeft
      child: CustomPaint(
        painter: ChatBubble(color: Colors.blue, alignment: alignment),
        child: Container(
          margin: EdgeInsets.all(10),
          child: Stack(
            children: <Widget>[
              TextView("Hello World"),
            ],
          ),
        ),
      ),
    )

About

Hey i have just created a chat bubble Widget in flutter using custom paint.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages