round_icon

Last updated:

0 purchases

round_icon Image
round_icon Images
Add to Cart

Description:

round icon

An icon widget with a circular background.
Installing #


Add dependencies to pubspec.yaml
dependencies:
hequest:
git:
url: https://github.com/teixeirazeus/round_icon
copied to clipboard


Run pub get.
flutter pub get
copied to clipboard


Import package.
import 'package:round_icon/round_icon.dart';
copied to clipboard


Using #
Set the icon, its color and the background color.
import 'package:flutter/material.dart';
import 'package:round_icon/round_icon.dart';

void main() {
runApp(const App());
}

class App extends StatelessWidget {
const App({super.key});

@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: RoundIcon(
icon: Icons.person,
backgroundColor: Colors.grey,
iconColor: Colors.black),
),
),
);
}
}
copied to clipboard
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.