FLUTTER ECOSYSTEM

ayoubamine/flutter_tawk

Flutter용 Tawk 위젯.

flutter_tawk 프로젝트 이미지
Stars
19
Forks
63
최근 푸시(UTC)
2024. 3. 4.
프로젝트 상태
활성
Ayoub Amine GitHub avatar
GITHUB User

Ayoub Amine ↗

Student at 1337 Future Is Loading

SmartleetPlanet Earth공식 웹사이트 ↗
언어DartRubySwiftKotlinObjective-C

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 4 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

flutter_tawk

pub package

https://i1.wp.com/www.tawk.to/wp-content/uploads/2020/04/tawk-sitelogo.png

Tawk widget for Flutter.

🚀 Showcase

https://raw.githubusercontent.com/ayoubamine/flutter_tawk/main/readme_resources/screenshot1.png https://raw.githubusercontent.com/ayoubamine/flutter_tawk/main/readme_resources/screenshot2.png https://raw.githubusercontent.com/ayoubamine/flutter_tawk/main/readme_resources/screenshot3.png

Install

To use this package, add flutter_tawk as dependency in your pubspec.yaml file.

Import

import 'package:flutter_tawk/flutter_tawk.dart';

How To Use

Tawk(
    directChatLink: 'YOUR_DIRECT_CHAT_LINK',
    visitor: TawkVisitor(
        name: 'Ayoub AMINE',
        email: 'ayoubamine2a@gmail.com',
    ),
)

See the example directory for the complete sample app.

Customization

Tawk
Parameter Type Default Description Required
directChatLink String null Tawk direct chat link. Yes
visitor TawkVisitor null Object used to set the visitor name and email. No
onLoad Function null Called right after the widget is rendered. No
onLinkTap Function null Called when a link pressed. No
placeholder Widget Center(child: CircularProgressIndicator()) Render your own loading widget. No
TawkVisitor
Parameter Type Default Description Required
name String null Visitor's name. No
email String null Visitor's email. No
hash String null Secure mode. No

Contributions

Feel free to contribute to this project.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a new feature, please send a pull request.

Changelog

CHANGELOG

License

MIT License