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

outdated

Agile access to device information singleton

example/lib/main.dart

import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'my_Device',
      theme: ThemeData(
        primarySwatch: Colors.deepPurple,
      ),
      home: const MyHomePage(title: 'My Device'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('My device'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: const <Widget>[],
        ),
      ),
    );
  }
}
4
likes
0
points
37
downloads

Publisher

verified publishermisdevelop.app

Weekly Downloads

Agile access to device information singleton

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, flutter, handy_dialogs

More

Packages that depend on my_device