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 — floating live chat widget backed by a WebView
  • LivechatModel — configuration model for the live chat URL

Getting Started

Add to your pubspec.yaml:

dependencies:
  singgih_counter_widget: ^1.0.5

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'),
    ),
  ],
)

Additional Information

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

Contributions are welcome — open a pull request on GitHub.

Libraries

singgih_counter_widget
A Flutter package providing a customizable counter widget.