application_icon 2.0.0 application_icon: ^2.0.0 copied to clipboard
This package provides a widget which shows the application icon of your app.
import 'package:application_icon/application_icon.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('application_icon'),
),
body: Center(
child: SizedBox(
width: 150,
height: 150,
child: AppIconImage(),
),
),
),
);
}
}