Skip to main content

android_hardware 0.0.1 copy "android_hardware: ^0.0.1" to clipboard
android_hardware: ^0.0.1 copied to clipboard

PlatformAndroid

Provides support for Android hardware features, such as the camera and other sensors.

example/lib/main.dart

import 'package:flutter/material.dart';

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

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: const Center(
          child: Text('Hello, World!'),
        ),
      ),
    );
  }
}
1
likes
150
points
44
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Provides support for Android hardware features, such as the camera and other sensors.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, reference

More

Packages that depend on android_hardware

Packages that implement android_hardware