flutter_slds_icons 0.0.1
flutter_slds_icons: ^0.0.1 copied to clipboard
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,
),
);
}
}