chatty_widget 0.0.1 copy "chatty_widget: ^0.0.1" to clipboard
chatty_widget: ^0.0.1 copied to clipboard

A Flutter widget that shows message on tap.

chatty_widget #

A Flutter widget that shows message on tap event.

Installation #

In your pubspec.yaml root add:

dependencies:
  chatty_widget: LATEST_VERSION_NUMBER

on use,

import 'package:chatty_widget/chatty_widget.dart';

ChattyWidget(
  child: Icon(Icons.add),
  text: 'This is Add Icon',
  textStyle: TextStyle(color: Colors.white),
  textBoxColor: Colors.black,
  chatBoxLocation: BoxLocation.Top,
  chatBoxWidth: 100,
  onTap: () {
    print('do something');
  },
)

Demo #

Limit #

Do Not use widgets like Buttons that has their own onTap callback function. It will be ignored. Instead, just use onTap method to execute additional method while showing the chat box.

2
likes
100
pub points
0%
popularity

Publisher

unverified uploader

A Flutter widget that shows message on tap.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on chatty_widget