iconfont 0.5.0 copy "iconfont: ^0.5.0" to clipboard
iconfont: ^0.5.0 copied to clipboard

outdated

Dart library to generate Dart model class from IconFont files.

example/lib/main.dart

import 'package:example/icons/my_icon.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Icon(MyIcon.MyiconChushi),
        ),
        body: Align(
          child: Icon(MyIcon.MyiconZhileng),
        ),
      ),
    );
  }
}
11
likes
0
pub points
68%
popularity

Publisher

verified publisherchuanci.cc

Dart library to generate Dart model class from IconFont files.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, dio, path, pubspec_yaml

More

Packages that depend on iconfont