flutter_brand_icons 1.1.0 copy "flutter_brand_icons: ^1.1.0" to clipboard
flutter_brand_icons: ^1.1.0 copied to clipboard

discontinuedreplaced by: simple_icons

A collection of simply beautiful open source brand icons. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and usability.

example/lib/main.dart

import "package:flutter/material.dart";

import './icons_list.dart';

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

class MyApp extends StatelessWidget {
  Widget iconCard(String iconName, IconData iconData) {
    return Card(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          Icon(
            iconData,
            size: 50.0,
          ),
          SizedBox(height: 30.0),
          Text(iconName)
        ],
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: "Brand Icons Example",
      home: Scaffold(
        backgroundColor: Color(0xFFF9F9F9),
        appBar: AppBar(
          title: Text('BrandIcons Example'),
        ),
        body: GridView.builder(
          gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
            crossAxisCount: 2,
            crossAxisSpacing: 8.0,
          ),
          itemBuilder: (BuildContext context, int index) {
            return iconCard(
              iconsDataList[index].keys.first,
              iconsDataList[index].values.first,
            );
          },
          itemCount: iconsDataList.length,
        ),
      ),
    );
  }
}
34
likes
40
pub points
41%
popularity

Publisher

unverified uploader

A collection of simply beautiful open source brand icons. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and usability.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_brand_icons