chatbox 0.0.3 copy "chatbox: ^0.0.3" to clipboard
chatbox: ^0.0.3 copied to clipboard

outdated

Helps creating chatboxes for mobile applications. Provides simple UI design for chat applications. Developers can focus more on the chat functionality rather than creating unique UI.

example/lib/main.dart

import 'package:chatbox/chatbox.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return const SafeArea(
        child: Scaffold(
      body: ChatBox(
        message: "Text message here",
        recieved: false,
        chatBoxColor: Colors.greenAccent,
        textColor: Colors.black,
      ),
    ));
  }
}
5
likes
0
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

Helps creating chatboxes for mobile applications. Provides simple UI design for chat applications. Developers can focus more on the chat functionality rather than creating unique UI.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on chatbox