Skip to content

Commit

Permalink
v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prahack committed Dec 29, 2022
1 parent e86a8e2 commit f9ab197
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.4.0] - 29/12/2022

* Add `BubbleNormalImage` image chat bubble widget

## [1.3.1] - 16/08/2022

* Support up-to-date dependencies
Expand Down
30 changes: 24 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
# chat_bubbles plugin

![Pub Version](https://img.shields.io/pub/v/chat_bubbles?color=blue)
![likes](https://badges.bar/chat_bubbles/likes)
![popularity](https://badges.bar/chat_bubbles/popularity)
![pub points](https://badges.bar/chat_bubbles/pub%20points)
![GitHub](https://img.shields.io/github/license/prahack/chat_bubbles)
![GitHub forks](https://img.shields.io/github/forks/prahack/chat_bubbles)
![GitHub Repo stars](https://img.shields.io/github/stars/prahack/chat_bubbles)
![GitHub last commit](https://img.shields.io/github/last-commit/prahack/chat_bubbles)

Flutter chat bubble widgets, similar to the Whatsapp and more shapes. Audio chat bubble widgets are also included. Easy to use and implement chat bubbles.
Flutter chat bubble widgets, similar to the Whatsapp and more shapes. Audio and Image chat bubble widgets are also included. Easy to use and implement chat bubbles.

## Getting Started

Add this to your package's `pubspec.yaml` file:

```yaml
dependencies:
chat_bubbles: ^1.3.1
chat_bubbles: ^1.4.0
```
## Usage
Expand Down Expand Up @@ -118,6 +115,20 @@ BubbleSpecialThree(
),
```

### Image chat bubble example

<img src="https://github.com/prahack/chat_bubbles/blob/master/images/screenshots/image_bubble.jpg?raw=true" width="206" height="188" />

```dart
BubbleNormalImage(
id: 'id001',
image: _image(),
color: Colors.purpleAccent,
tail: true,
delivered: true,
),
```

### Date Chip example

<img src="https://github.com/prahack/chat_bubbles/blob/master/images/screenshots/datechip.png?raw=true" width="237" height="58" />
Expand Down Expand Up @@ -161,7 +172,7 @@ MessageBar(
```

### Main example (Chat View)
<img src="https://github.com/prahack/chat_bubbles/blob/master/images/screenshots/2022_7_3_main1.png?raw=true" width="235" height="460" /> <img src="https://github.com/prahack/chat_bubbles/blob/master/images/screenshots/2022_7_3_main2.png?raw=true" width="235" height="460" />
<img src="https://github.com/prahack/chat_bubbles/blob/master/images/screenshots/2022_12_29_main1.jpg?raw=true" width="235" height="460" /> <img src="https://github.com/prahack/chat_bubbles/blob/master/images/screenshots/2022_12_29_main2.jpg?raw=true" width="235" height="460" />

Checkout the plugin example to figure out more.

Expand All @@ -184,6 +195,13 @@ Widget build(BuildContext context) {
SingleChildScrollView(
child: Column(
children: <Widget>[
BubbleNormalImage(
id: 'id001',
image: _image(),
color: Colors.purpleAccent,
tail: true,
delivered: true,
),
BubbleNormalAudio(
color: Color(0xFFE8E8EE),
duration: duration.inSeconds.toDouble(),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: chat_bubbles
description: Flutter chat bubble widgets, similar to Whatsapp and more shapes. Easy to use and implement
chat bubbles.
version: 1.3.1
version: 1.4.0
homepage: https://github.com/prahack/chat_bubbles

environment:
Expand Down

0 comments on commit f9ab197

Please sign in to comment.