tutk_iotcamera 5.0.15 copy "tutk_iotcamera: ^5.0.15" to clipboard
tutk_iotcamera: ^5.0.15 copied to clipboard

Flutter plugin for TUTK IOTCamera SDK. Supports live preview, two-way audio, local recording, PTZ, file transfer and Nebula Wi-Fi provisioning for IoT cameras on Android and iOS.

example/lib/main.dart

// ignore_for_file: unused_import
import 'package:flutter/material.dart';
import 'cameracontent.dart';

import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_camera_plugin_example/gen/l10n/app_localizations.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      localizationsDelegates: [
        AppLocalizations.delegate,
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
        GlobalCupertinoLocalizations.delegate,
      ],
      supportedLocales: [
        Locale.fromSubtags(languageCode: 'en'),
        Locale.fromSubtags(languageCode: 'zh'),
        Locale.fromSubtags(
            languageCode: 'zh',
            scriptCode: 'Hans'), // generic simplified Chinese 'zh_Hans'
        Locale.fromSubtags(
            languageCode: 'zh',
            scriptCode: 'Hant'), // generic traditional Chinese 'zh_Hant'
        Locale.fromSubtags(
          languageCode: 'zh',
          scriptCode: 'Hant',
          countryCode: 'TW'), // 'zh_Hant_TW'
        Locale.fromSubtags(
          languageCode: 'zh',
          scriptCode: 'Hant',
          countryCode: 'HK'), // 'zh_Hant_HK'
      ],
      home: TKCameraHome(),
      // initialRoute: '/',
      // routes: {
      //   "/": (context) => const MyHome(),
      //   "/live":(context) => const SecondRoute(),
      // },
    );
  }
}
0
likes
145
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for TUTK IOTCamera SDK. Supports live preview, two-way audio, local recording, PTZ, file transfer and Nebula Wi-Fi provisioning for IoT cameras on Android and iOS.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on tutk_iotcamera

Packages that implement tutk_iotcamera