file_icon 0.3.0

Flutter Android iOS web

File icons for different file types, auto detected by file name.

File Icon for Flutter #

pub

File Icon for Flutter, port of Seti UI icons.

Usage #

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

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return FileIcon(
      // File name
      'main.dart',

      // Icon size
      size: 32,
    );
  }
}

License #

MIT

3
likes
90
pub points
74%
popularity

File icons for different file types, auto detected by file name.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

pd4d10@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on file_icon