PakAcademy79
0
  • Home
  • Courses
    • C++ examples with solutions
    • C++ projects for beginners
    • Python
    • Flutter
    • Android
    • PHP
    • Java Programming
  • Freelancing Tips
    • Free Courses
    • ShopNow
    • YouTube
    • Technology
  • Free Download

Archives

  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022

Categories

  • Android
  • C++
  • CurrentAffairs
  • Downloads
  • Flutter
  • Free Courses
  • freelancing tips
  • FYP Ideas
  • iPhone
  • Java Programming
  • PHP
  • Python
  • ShopNow
  • Technology
  • Uncategorized
  • Wordpress
  • YouTube

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
PakAcademy79 PakAcademy79
PakAcademy79 PakAcademy79
PakAcademy79 PakAcademy79
  • Home
  • Courses
    • C++ examples with solutions
    • C++ projects for beginners
    • Python
    • Flutter
    • Android
    • PHP
    • Java Programming
  • Freelancing Tips
    • Free Courses
    • ShopNow
    • YouTube
    • Technology
  • Free Download
Trending Now
The Comprehensive 2021 Android Development Masterclass

THE COMPREHENSIVE 2021 ANDROID DEVELOPMENT MASTERCLASS

September 9, 2022
Illustration representing current affairs

The Bloody Conflict: The Devastating Civil War in Sudan with Heavy Weapons Claiming Dozens of Lives:

April 21, 2023

A weather application that show the current weather for your location and forecast for 6 days with flutter 3.0

December 9, 2022
Illustration representing current affairs

Neo Khalistan Movement 2023_ Waris Punjab De

March 8, 2023
0
PakAcademy79 PakAcademy79
  • Home
  • Courses
    • C++ examples with solutions
    • C++ projects for beginners
    • Python
    • Flutter
    • Android
    • PHP
    • Java Programming
  • Freelancing Tips
    • Free Courses
    • ShopNow
    • YouTube
    • Technology
  • Free Download
Trending Now
The Comprehensive 2021 Android Development Masterclass

THE COMPREHENSIVE 2021 ANDROID DEVELOPMENT MASTERCLASS

September 9, 2022
Illustration representing current affairs

The Bloody Conflict: The Devastating Civil War in Sudan with Heavy Weapons Claiming Dozens of Lives:

April 21, 2023

A weather application that show the current weather for your location and forecast for 6 days with flutter 3.0

December 9, 2022
Illustration representing current affairs

Neo Khalistan Movement 2023_ Waris Punjab De

March 8, 2023
0
Home » Blog » Profile App complete In Flutter 3.0
Flutter

Profile App complete In Flutter 3.0

Posted by admin January 12, 2023

Table of Contents

  • Source Code

Here is an example of a complete profile app code in Flutter that allows the user to view and edit their profile information:

Source Code

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

class ProfilePage extends StatefulWidget {
@override
_ProfilePageState createState() => _ProfilePageState();
}

class _ProfilePageState extends State {
String _name = "John Doe";
String _email = "john.doe@example.com";
String _profileImage =
"https://example.com/images/profile.jpg";
bool _isEditing = false;

final _nameController = TextEditingController();
final _emailController = TextEditingController();

@override
void initState() {
super.initState();
_nameController.text = _name;
_emailController.text = _email;
}

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("My Profile"),
actions: [
_isEditing
? IconButton(
icon: Icon(Icons.check),
onPressed: () {
setState(() {
_name = _nameController.text;
_email = _emailController.text;
_isEditing = false;
});
},
)
: IconButton(
icon: Icon(Icons.edit),
onPressed: () {
setState(() {
_isEditing = true;
});
},
),
],
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
CircleAvatar(
radius: 50,
backgroundImage: NetworkImage(_profileImage),
),
SizedBox(
height: 10,
),
_isEditing
? TextField(
controller: _nameController,
decoration: InputDecoration(labelText: "Name"),
)
: Text(
_name,
style: TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold,
color: Colors.black,
),
),
SizedBox(
height: 10,
),
_isEditing
? TextField(
controller: _emailController,
decoration: InputDecoration(labelText: "Email"),
)
: Text(
_email,
style: TextStyle(
fontSize: 18,
color: Colors.grey,
),
),
SizedBox(
height: 10,
),
_isEditing
? RaisedButton(
child: Text("Save"),
onPressed: () {
setState(() {
_name = _nameController.text;
_email = _emailController.text;
_isEditing = false;
});
},
)
: Container(),
],
),
),
);
}
}*/

Tags: flutter 3.0 profile app flutter beautiful profile page flutter profile page flutter user profile example How do I create a profile on Flutter? profile app in flutter profile app UI in flutter
admin January 12, 2023
Previous Article Bank Management System Project in c++ (Using Functions)
Next Article ATM machine program in c++ using functions

Leave a Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

FOLLOW SOCIALS

Facebook like
Twitter follow
Pinterest pin

You Might Also Enjoy

Source code for a Flutter app development project
Flutter

WhatsApp Clone App | Chat, Audio, Video App Flutter Android and iOS with Admin Panel

Whoxa is an application that emulates WhatsApp’s functionality. The chat ...

Posted by admin admin April 28, 2023
Free download of complete Flutter apps
DownloadsFlutter

Handyman Service 7.16.0 – Flutter App Complete Code

Handyman Service 7.16.0 – Flutter On-Demand Home Services App with ...

Posted by admin admin March 28, 2023
Stay up to date with the latest Flutter updates and information
Flutter

Create Beautiful Buttons Easily with Our Material Design Flutter Plugin

Table of Contents What is Flutter Plugin?General Steps to Create ...

Posted by admin admin March 18, 2023
Load More

CONTACT INFO

The Business Centre 2, My
Street, Kingston, New York 12401
Phone Information
Phone: (+1) 234 567 89
Email: themeruby@gmail.com

CLUB OPEN HOURS

Monday 06:00 AM – 05:00 PM
Tuesday 06:00 AM – 05:00 PM
Wednesday 06:00 AM – 05:00 PM
Thursday 06:00 AM – 05:00 PM
Friday 06:00 AM – 05:00 PM
Saturday 06:00 AM – 05:00 PM

POPULAR NEWS

Top 10 Freelance Websites in 2022

Tic Tac Toe –  The Classic Flutter 3.0 Tic Tac Toe Game

What is affiliate marketing & how to earn money online

Flutter 3.0 | E-commerce App Template – Flipkart Clone Flutter – GoKart

Search

TAG CLOUD

#CodeExamples #JavaProgramming Advantages of affiliate marketing ArtificialIntelligence c++ c++ examples c++ examples with soutions c++ programming c++ programms with solutions c++ programs with solutions c++ projects c++ projects with source code c++ project with code Comments Console output Conversion download flutter flutter 3.0 flutter animation flutter app flutter codes flutter course flutter crash course flutter dart flutter for beginners flutter nulled flutter nulled code flutter source code flutter tutorial flutter tutorial for beginners flutter widgets google flutter Java Java programming Laravel eCommerce Shopping Platform learn flutter machine learning Microsoft SQL Server Named constant nulled code Programming programming basics projects code Quarts to gallons
PakAcademy79

All Copyright reserved byPakacademy79.com

Our website uses cookies to improve your experience. Learn more about: cookie policy

Accept