ProfileScreen constructor

const ProfileScreen({
  1. Key? key,
  2. required String userName,
  3. bool showLogout = true,
  4. bool showBackButton = true,
  5. VoidCallback? onBackPressed,
  6. Color? avatarBackgroundColor,
})

Implementation

const ProfileScreen(
    {super.key,
    required this.userName,
    this.showLogout = true,
    this.showBackButton = true,
    this.onBackPressed,
    this.avatarBackgroundColor});