CallOutgoingScreenDimensions class

The metrics of the screen shown while a call is being placed.

Every field defaults to the kit's original value, so const CallOutgoingScreenDimensions() reproduces the layout the package shipped before sizes became configurable. All of them are multiplied by CallDimensions.scale.

Annotations

Constructors

CallOutgoingScreenDimensions({double minimizePadding = 12, double minimizeIconSize = 28, double avatarRadius = 50, double avatarNameGap = 16, double nameFontSize = 24, double nameStatusGap = 8, double statusFontSize = 15, double bottomInset = 48, double endCallSize = 50, double endCallIconSize = 22, double toggleSize = 50, double toggleIconSize = 22})
Creates the screen metrics, each defaulting to the kit's original value.
const

Properties

avatarNameGap double
Gap between the avatar and the callee name.
final
avatarRadius double
Radius of the callee's avatar.
final
bottomInset double
Gap between the controls row and the bottom screen edge.
final
endCallIconSize double
Glyph size inside the end-call button.
final
endCallSize double
Diameter of the end-call button.
final
hashCode int
The hash code for this object.
no setteroverride
minimizeIconSize double
Glyph size of the minimize chevron.
final
minimizePadding double
Padding around the minimize chevron.
final
nameFontSize double
Font size of the callee name.
final
nameStatusGap double
Gap between the name and the status line.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusFontSize double
Font size of the status line.
final
toggleIconSize double
Glyph size inside those toggles.
final
toggleSize double
Diameter of the mute and speaker toggles.
final

Methods

copyWith({double? minimizePadding, double? minimizeIconSize, double? avatarRadius, double? avatarNameGap, double? nameFontSize, double? nameStatusGap, double? statusFontSize, double? bottomInset, double? endCallSize, double? endCallIconSize, double? toggleSize, double? toggleIconSize}) CallOutgoingScreenDimensions
Returns a copy of these metrics with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override