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

PlatformAndroid

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

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'singgih_counter_widget Example',
      theme: ThemeData(colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple)),
      home: const ExamplePage(),
    );
  }
}

class ExamplePage extends StatelessWidget {
  const ExamplePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        const CounterPage(title: 'Counter Demo'),
        LiveChatWidget(
          config: LivechatModel(id: 'demo-id'),
        ),
      ],
    );
  }
}
1
likes
150
points
209
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.

License

MIT (license)

Dependencies

connectivity_plus, flutter, webview_flutter, webview_flutter_android

More

Packages that depend on singgih_counter_widget