flutter_get_native_icon 0.0.5 copy "flutter_get_native_icon: ^0.0.5" to clipboard
flutter_get_native_icon: ^0.0.5 copied to clipboard

Get native icon as flutter widget, Get system desktop app icon and name.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_get_native_icon/flutter_get_native_icon.dart';

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

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

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('App Icon Display'),
      ),
      body: const Center(child: NativeAppIconWidget()),
    );
  }
}

void main() {
  runApp(const MaterialApp(
    home: MyHomePage(),
  ));
}
1
likes
140
points
152
downloads

Publisher

unverified uploader

Weekly Downloads

Get native icon as flutter widget, Get system desktop app icon and name.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_get_native_icon

Packages that implement flutter_get_native_icon