singgih_counter_widget 1.0.6 copy "singgih_counter_widget: ^1.0.6" to clipboard
singgih_counter_widget: ^1.0.6 copied to clipboard

PlatformAndroid

A Flutter package providing a customizable counter widget and a live chat widget powered by WebView.

singgih_counter_widget #

A Flutter package providing a customizable counter widget and a live chat widget powered by WebView.

Features #

  • CounterPage — counter widget with increment button and Material Design support
  • LiveChatWidget — full-screen transparent overlay live chat widget backed by a WebView
  • LiveChatOverlayButton — floating draggable button that opens live chat as a bottom sheet; drag to any horizontal edge to hide, swipe restore tab to bring it back
  • LivechatModel — configuration model for the live chat URL

Getting Started #

Add to your pubspec.yaml:

dependencies:
  singgih_counter_widget: ^1.0.6

Then run:

flutter pub get

Usage #

CounterPage #

import 'package:singgih_counter_widget/singgih_counter_widget.dart';

MaterialApp(
  home: CounterPage(title: 'My Counter'),
)

LiveChatWidget #

import 'package:singgih_counter_widget/singgih_counter_widget.dart';

Stack(
  children: [
    // your app content
    LiveChatWidget(
      config: LivechatModel(id: 'your-livechat-id'),
    ),
  ],
)

LiveChatOverlayButton #

A draggable floating button that stays on top of all content via Overlay. Tap to open chat, drag to any horizontal edge to hide, swipe restore tab to show again.

import 'package:singgih_counter_widget/singgih_counter_widget.dart';

Stack(
  children: [
    YourPage(),
    LiveChatOverlayButton(
      config: LivechatModel(id: 'your-livechat-id'),
    ),
  ],
)

Additional Information #

For issues and feature requests, please file them on the issue tracker.

Contributions are welcome — open a pull request on GitHub.

1
likes
160
points
21
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing a customizable counter widget and a live chat widget powered by WebView.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

connectivity_plus, flutter, webview_flutter, webview_flutter_android

More

Packages that depend on singgih_counter_widget