CallParticipantsPanelDimensions class
The metrics of the draggable sheet listing everyone on the call, its invite button, and the host-action sheet raised from a row.
Every field defaults to the kit's original value, so
const CallParticipantsPanelDimensions() reproduces the layout the package
shipped before sizes became configurable. All of them are multiplied by
CallDimensions.scale.
- Annotations
Constructors
- CallParticipantsPanelDimensions({double radius = 16, double bottomPadding = 16, double headerHorizontal = 16, double headerVertical = 4, double titleFontSize = 15, double muteAllFontSize = 13, double closeIconSize = 20, double inviteHorizontal = 16, double inviteTop = 8, double inviteButtonHeight = 44, double inviteIconSize = 20, double inviteRadius = 22, double rowHeight = 52, double rowHorizontal = 16, double rowAvatarRadius = 18, double rowAvatarFontSize = 14, double rowAvatarGap = 12, double rowNameFontSize = 14, double rowStatusFontSize = 11, double rowIconSize = 18, double rowHostIconSize = 16, double rowIconGap = 8, double hostActionsTop = 8, double hostActionsHandleGap = 16})
-
Creates the panel metrics, each defaulting to the kit's original value.
const
Properties
- bottomPadding → double
-
Padding added below the sheet's content, on top of the safe area.
final
- closeIconSize → double
-
Glyph size of the close button.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- headerHorizontal → double
-
Horizontal padding of the header row.
final
- headerVertical → double
-
Vertical padding of the header row.
final
- hostActionsHandleGap → double
-
Gap between the host-action sheet's handle and its first tile.
final
- hostActionsTop → double
-
Gap above the host-action sheet's content.
final
- inviteButtonHeight → double
-
Height of the invite button.
final
- inviteHorizontal → double
-
Horizontal margin of the invite button.
final
- inviteIconSize → double
-
Glyph size inside the invite button.
final
- inviteRadius → double
-
Corner radius of the invite button.
final
- inviteTop → double
-
Gap above the invite button.
final
- muteAllFontSize → double
-
Font size of the "Mute all" action.
final
- radius → double
-
Corner radius of the sheet's top edge.
final
- rowAvatarFontSize → double
-
Font size of the initial inside that avatar.
final
- rowAvatarGap → double
-
Gap between the avatar and the name.
final
- rowAvatarRadius → double
-
Radius of a row's avatar.
final
- rowHeight → double
-
Height of one participant row.
final
- rowHorizontal → double
-
Horizontal padding of a participant row.
final
- rowHostIconSize → double
-
Glyph size of a row's host badge.
final
- rowIconGap → double
-
Gap between a row's trailing icons.
final
- rowIconSize → double
-
Glyph size of a row's mute and screen-share icons.
final
- rowNameFontSize → double
-
Font size of a row's participant name.
final
- rowStatusFontSize → double
-
Font size of a row's status line.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleFontSize → double
-
Font size of the "Participants (N)" title.
final
Methods
-
copyWith(
{double? radius, double? bottomPadding, double? headerHorizontal, double? headerVertical, double? titleFontSize, double? muteAllFontSize, double? closeIconSize, double? inviteHorizontal, double? inviteTop, double? inviteButtonHeight, double? inviteIconSize, double? inviteRadius, double? rowHeight, double? rowHorizontal, double? rowAvatarRadius, double? rowAvatarFontSize, double? rowAvatarGap, double? rowNameFontSize, double? rowStatusFontSize, double? rowIconSize, double? rowHostIconSize, double? rowIconGap, double? hostActionsTop, double? hostActionsHandleGap}) → CallParticipantsPanelDimensions - 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