AvatarSphereWidget constructor
const
AvatarSphereWidget({
- Key? key,
- required List<
String> avatarUrls, - AvatarSphereImageBuilder? imageBuilder,
- AvatarSphereTapCallback? onAvatarTap,
- double radius = 140,
- double avatarSize = 56,
- double padding = 56,
- double autoRotateSpeed = 0.002,
- double dragSensitivity = 0.005,
- double inertiaFriction = 0.985,
- Color borderColor = Colors.white,
- double borderWidth = 2,
- Color backgroundColor = const Color(0xFFE0E0E0),
- Map<
String, String> ? imageHeaders = const {'User-Agent' : 'Mozilla/5.0'}, - ImageErrorWidgetBuilder? errorBuilder,
Implementation
const AvatarSphereWidget({
super.key,
required this.avatarUrls,
this.imageBuilder,
this.onAvatarTap,
this.radius = 140,
this.avatarSize = 56,
this.padding = 56,
this.autoRotateSpeed = 0.002,
this.dragSensitivity = 0.005,
this.inertiaFriction = 0.985,
this.borderColor = Colors.white,
this.borderWidth = 2,
this.backgroundColor = const Color(0xFFE0E0E0),
this.imageHeaders = const {'User-Agent': 'Mozilla/5.0'},
this.errorBuilder,
});