carbon_icons 0.0.1+2 copy "carbon_icons: ^0.0.1+2" to clipboard
carbon_icons: ^0.0.1+2 copied to clipboard

A Flutter package which includes 1584 Carbon icons from the Carbon Design System.

example/lib/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(primarySwatch: Colors.blue),
      home: Scaffold(
        appBar: AppBar(
          title: Text('Example'),
          actions: [
            IconButton(
              icon: Icon(CarbonIcons.help),
              onPressed: () {},
            ),
          ],
        ),
        body: Center(
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceAround,
            children: <Widget>[
              Icon(
                CarbonIcons.pills_add,
                size: 64.0,
                color: Colors.orange,
              ),
              Icon(
                CarbonIcons.phone,
                color: Colors.blue,
                size: 64.0,
              ),
              Icon(
                CarbonIcons.car_front,
                color: Colors.red,
                size: 64.0,
              ),
              Icon(
                CarbonIcons.shopping_cart,
                color: Colors.green,
                size: 64.0,
              ),
            ],
          ),
        ),
      ),
    );
  }
}
96
likes
150
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package which includes 1584 Carbon icons from the Carbon Design System.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on carbon_icons