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
pub points
1%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, reference

More

Packages that depend on android_hardware