flutter_slds_icons 2.0.2 copy "flutter_slds_icons: ^2.0.2" to clipboard
flutter_slds_icons: ^2.0.2 copied to clipboard

An icon pack derived from the Salesforce Lightning Design System icons.

Flutter SLDS Icons #

pub package

Salesforce Lightning Design System Icons for Flutter!

Documentation #

The original icons #

The generator #

The output #

Usage #

import 'package:flutter_slds_icons/flutter_slds_icons.dart';

Icon(SLDSIcons.account);

Used under the Creative Commons Attribution-NoDerivatives 4.0 International Public License.

Salesforce has not reviewed, approved, or endorsed this project.

Instructions for Maintainers #

  • Download the original icons from the Salesforce link above.

  • Unzip them into the assets/original folder.

  • Create the 'parsed' icons using dart run scripts/generate_icons.dart.

  • Using FlutterIcon, drag and drop all the 'parsed' icons into the site.

  • Change the class name from MyFlutterApp to SLDSIcons.

  • Drag to select all icons and click the Download button.

  • Unzip the output and move/rename s_l_d_s_icons_icons.dart to lib/src/slds_icons.dart.

  • Change _kFontPkg to flutter_slds_icons.

  • Move the output fonts/SLDSIcons.ttf to lib/assets/SLDSIcons.ttf.

  • Create the test icon map using dart run scripts/generate_test_map.dart.

2
likes
140
points
46
downloads
screenshot

Documentation

API reference

Publisher

verified publishermj12358.dev

Weekly Downloads

An icon pack derived from the Salesforce Lightning Design System icons.

Repository (GitHub)
View/report issues

Topics

#flutter #icons #salesforce #slds #sfdx

Funding

Consider supporting this project:

www.buymeacoffee.com

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_slds_icons