SeniorProfilePicture constructor
const
SeniorProfilePicture({
- Key? key,
- required String name,
- ImageProvider<
Object> ? imageProvider, - bool isLoading = false,
- required double radius,
- SeniorProfilePictureStyle? style,
Creates a profile picture component.
Displays the user's profile picture or initials. There is a loading state that can be set by parameter isLoading. The radius and name parameters are required.
Implementation
const SeniorProfilePicture({
Key? key,
required this.name,
this.imageProvider,
this.isLoading = false,
required this.radius,
this.style,
}) : super(key: key);