Skip to main content

drukkio_preview 0.1.0 copy "drukkio_preview: ^0.1.0" to clipboard
drukkio_preview: ^0.1.0 copied to clipboard

Flutter WebView wrappers for DRUKKIO product embeds (preview, buy, link, info, and QR).

example/lib/main.dart

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

void main() => runApp(const ExampleApp());

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: Padding(
            padding: EdgeInsets.all(16),
            child: DrukkioPreview(
              product: '0123456789abcdef',
              canvasColor: '#111111',
              sockets: {'headline': 'Ada'},
              showName: true,
              showPrice: true,
              showBuy: true,
            ),
          ),
        ),
      ),
    );
  }
}
0
likes
150
points
37
downloads

Documentation

API reference

Publisher

verified publisherbaerh.com

Weekly Downloads

Flutter WebView wrappers for DRUKKIO product embeds (preview, buy, link, info, and QR).

Homepage
Repository (GitHub)

Topics

#flutter #webview #ecommerce #merchandise

License

MIT (license)

Dependencies

flutter, url_launcher, webview_flutter

More

Packages that depend on drukkio_preview