ai_blue_tooth_print 2.0.0 copy "ai_blue_tooth_print: ^2.0.0" to clipboard
ai_blue_tooth_print: ^2.0.0 copied to clipboard

Bluetooth,bluetooth printer,bluetooth print,pos print(support android and iOS).

example/lib/main.dart

import 'package:ai_blue_tooth_print_example/blue_tooth_print_page.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      debugShowCheckedModeBanner: false,
      home: MyApp(),
    ),
  );
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String barcode = "";

  @override
  initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('ai_blue_tooth_print example'),
        ),
        body: Center(
          child: OutlinedButton(
              onPressed: () {
                Navigator.of(context).push(
                  MaterialPageRoute(
                    builder: (context) {
                      return BluetoothPrintPage();
                    },
                  ),
                );
              },
              child: Text("go bluetooth print example")),
        ));
  }
}
6
likes
40
pub points
9%
popularity

Publisher

unverified uploader

Bluetooth,bluetooth printer,bluetooth print,pos print(support android and iOS).

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

ai_blue_tooth_print_interface, ai_blue_tooth_print_web, flutter

More

Packages that depend on ai_blue_tooth_print