flutter_superchat 1.0.3

  • Readme
  • Changelog
  • Example
  • Installing
  • 70

flutter_superchat #

Flutter Chatting Ui Template.

Chat Template Integration. #


Implement Chat Template with very minimal lines of code. Want to implement this in your project?

Steps To Integrate it into your project . #


CustomChatTemplate(2,itemBuilder: (context,index){
	 return (index % 2 == 0) ?
		  LeftMessage(text: "Hey this auther is crazy",) :
		  RightMessage(text: "Indeed he is..!",);
	},
	onTap: (int index){
		print(index.toString());
	}
)

Types Of Message You can Send . #


Constructores CustomChatTemplate #

(
	this.itemCount
	{this.itemBuilder,
	this.scrollController,
	this.onTap,
	this.onLongTap
});

LeftMessage and RightMessage uses following Constructors

({
	this.text,
	this.textColor,
	this.backgroundColor,
	this.fontSize,
	this.readText,
	this.tickImage,
	this.fontName
});

LeftImage and RightImage uses following Constructors

 ({
	 this.backgroundColor,
	 this.fontName,
	 this.tickImage,
	 this.readText,
	 this.image,
	 this.heroTag
 });

LeftVideo and RightVideo uses following Constructors

({
	this.backgroundColor,
	this.fontName,
	this.tickImage,
	this.readText,
	this.thumbNail,
	this.heroTag
});

Help.


  • You can email me to nikhilishwar2@gmail.com if any update or suggestion required and also support me with the improvement of this project.

[0.0.1] - 27-may-2020. #

  • Released this package.

[0.0.2] - 27-may-2020. #

  • Minor reformating of code.

[0.0.3] - 27-may-2020. #

  • Updated readme.md File.

[0.0.4] - 27-may-2020. #

  • Code refactor.

[0.0.5] - 27-may-2020. #

  • Code refactor.

[0.0.6] - 27-may-2020. #

  • Code refactor.

[1.0.0] - 27-may-2020. #

  • Stable Version Released.

[1.0.1] - 27-may-2020. #

  • Minor readme changed.

[1.0.2] - 27-may-2020. #

  • Minor readme changed.

[1.0.3] - 27-may-2020. #

  • Example Included.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:super_chat/Pages/OnboardingPage.dart';
import 'package:super_chat/Pages/SplashPage.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Demo',
      theme: ThemeData(

        primarySwatch: Colors.blue,
      ),
      home: SplashPage(),
    );
  }
}

Use this package as a library

1. Depend on it

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


dependencies:
  flutter_superchat: ^1.0.3

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_superchat/flutter_superchat.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
40
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
70
Learn more about scoring.

We analyzed this package on Jul 11, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.14
  • Flutter: 1.17.5

Analysis suggestions

Package not compatible with SDK dart

Because:

  • flutter_superchat that is a package requiring null.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8 1.2.2
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8 2.1.0-nullsafety
Dev dependencies
flutter_test