platform_icons 0.1.0 copy "platform_icons: ^0.1.0" to clipboard
platform_icons: ^0.1.0 copied to clipboard

Simplify icon usage in your flutter app with icons that adapt to the platform you're running on. Uses material icons on Android & web. Uses Cupertino icons on iOS & MacOS. Uses Fluent UI icons on Windows.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add platform_icons

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  platform_icons: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:platform_icons/platform_icons.dart';
5
likes
140
pub points
67%
popularity

Publisher

verified publishersimplewidgets.dev

Simplify icon usage in your flutter app with icons that adapt to the platform you're running on. Uses material icons on Android & web. Uses Cupertino icons on iOS & MacOS. Uses Fluent UI icons on Windows.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, fluentui_system_icons, flutter, simplewidgets_platform_helper_packages

More

Packages that depend on platform_icons