Profile package lets you add a beautiful UI in your Flutter apps.
- Add the latest version of package to your pubspec.yaml (and run
dart pub get
):
dependencies:
profile: ^0.0.1
- Import the package and use it in your Flutter App.
import 'package:profile/profile.dart';
import 'package:flutter/material.dart';
import 'package:profile/profile.dart';
class AdminPage extends StatefulWidget {
const AdminPage({Key? key}) : super(key: key);
@override
State<AdminPage> createState() => _AdminPageState();
}
class _AdminPageState extends State<AdminPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Profile(
imageUrl: "https://images.unsplash.com/photo-1598618356794-eb1720430eb4?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=870&q=80",
name: "Shamim Miah",
website: "shamimmiah.com",
designation: "Project Manager | Flutter & Blockchain Developer",
email: "cse.shamimosmanpailot@gmail.com",
phone_number: "01757736053",
),
));
}
}
|
|