Profile Screen UI

Quay lại bài học

Profile Screen UI

Lập trình

Xây dựng giao diện màn hình profile người dùng

Tạo màn hình profile với: - Avatar hình tròn - Thông tin user (name, email, bio) - List các setting items - Logout button Sử dụng CircleAvatar, ListTile, và Card widgets

Code mẫu
import 'package:flutter/material.dart';

class ProfileScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Profile')),
      body: // Your code here
    );
  }
}