application_icon 1.0.0 application_icon: ^1.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('Plugin example app'),
),
body: Center(
child: SizedBox(
width: 150,
height: 150,
child: AppIconImage(),
),
),
),
);
}
}