ZegoOutsideRoomAudioVideoViewListItemStyle class
item style
Constructors
- ZegoOutsideRoomAudioVideoViewListItemStyle.new({bool useVideoViewAspectFill = true, double sizeAspectRatio = 16 / 9, Widget backgroundBuilder(BuildContext context, Size size, ZegoUIKitUser? user, String roomID)?, Widget foregroundBuilder(BuildContext context, Size size, ZegoUIKitUser? user, String roomID)?, Widget? loadingBuilder(BuildContext context, ZegoUIKitUser? user, String roomID)?, double borderRadius = 5, Color borderColor = Colors.black, double borderColorOpacity = 0.2, ZegoAvatarConfig? avatar, EdgeInsetsGeometry margin = const EdgeInsets.all(5)})
-
const
Properties
- avatar → ZegoAvatarConfig?
-
custom avatar
final
- backgroundBuilder → Widget Function(BuildContext context, Size size, ZegoUIKitUser? user, String roomID)?
-
background builder, you can display something when user close camera
final
- borderColor → Color
-
border color
final
- borderColorOpacity → double
-
borderColor opacity
final
- borderRadius → double
-
border radius
final
- foregroundBuilder → Widget Function(BuildContext context, Size size, ZegoUIKitUser? user, String roomID)?
-
foreground builder, you can display something you want on top of the view,
foreground will always show
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadingBuilder → Widget? Function(BuildContext context, ZegoUIKitUser? user, String roomID)?
-
loading builder, return Container() if you want hide it
final
- margin → EdgeInsetsGeometry
-
margin
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeAspectRatio → double
-
Aspect ratio
final
- useVideoViewAspectFill → bool
-
Video view mode.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited