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

outdated

Icons derived from the Salesforce Lightning Design System.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter SLDS Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Flutter SLDS Icons'),
        ),
        body: const Home(),
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return const Center(
      child: Icon(
        SLDSUtilityIcons.activity,
        color: Colors.amber,
        size: 300,
      ),
    );
  }
}
2
likes
0
points
29
downloads

Publisher

verified publishermj12358.dev

Weekly Downloads

Icons derived from the Salesforce Lightning Design System.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_slds_icons