StreamCallControlsThemeData class

Defines default property values for StreamCallControls widgets.

Mixed-in types
Annotations

Constructors

StreamCallControlsThemeData({BorderRadius borderRadius = const BorderRadius.only(topLeft: Radius.circular(32), topRight: Radius.circular(32)), Color backgroundColor = Colors.white, double elevation = 8, EdgeInsets padding = const EdgeInsets.all(14), double spacing = 10, Color optionIconColor = Colors.black, Color inactiveOptionIconColor = Colors.white, double optionElevation = 2, double inactiveOptionElevation = 2, Color optionBackgroundColor = Colors.white, Color inactiveOptionBackgroundColor = const Color.fromRGBO(0, 0, 0, 0.4), OutlinedBorder optionShape = const CircleBorder(), EdgeInsetsGeometry optionPadding = const EdgeInsets.all(16), List<CallReactionData> callReactions = const [CallReactionData(type: 'reaction', emojiCode: ':like:', icon: '👍'), CallReactionData(type: 'raised-hand', emojiCode: ':raise-hand:', icon: '✋'), CallReactionData(type: 'reaction', emojiCode: ':fireworks:', icon: '🎉')]})
Creates a new instance of StreamCallControlsThemeData.
const

Properties

backgroundColor Color
The background color of the call controls bar.
final
borderRadius BorderRadius
The border radius of the call controls bar.
final
callReactions List<CallReactionData>
final
elevation double
The elevation of the call controls bar.
final
hashCode int
The hash code for this object.
no setteroverride
inactiveOptionBackgroundColor Color
The background color of the call control option when it is inactive.
final
inactiveOptionElevation double
The elevation of the call control option when it is inactive.
final
inactiveOptionIconColor Color
The color of the icon of the call control option when it is inactive.
final
optionBackgroundColor Color
The background color of the call control option.
final
optionElevation double
The elevation of the call control option.
final
optionIconColor Color
The color of the icon of the call control option.
final
optionPadding EdgeInsetsGeometry
The padding applied to the call control option.
final
optionShape OutlinedBorder
The shape of the call control option.
final
padding EdgeInsets
The padding applied to the call controls bar.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double
The spacing between the call controls.
final

Methods

copyWith({BorderRadius? borderRadius, Color? backgroundColor, double? elevation, EdgeInsets? padding, double? spacing, Color? optionIconColor, Color? inactiveOptionIconColor, double? optionElevation, double? inactiveOptionElevation, Color? optionBackgroundColor, Color? inactiveOptionBackgroundColor, OutlinedBorder? optionShape, EdgeInsetsGeometry? optionPadding, List<CallReactionData>? callReactions}) StreamCallControlsThemeData
Creates a copy of this object with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(StreamCallControlsThemeData other, double t) StreamCallControlsThemeData
Linearly interpolate between two StreamCallControlsThemeData themes.
merge(StreamCallControlsThemeData? other) StreamCallControlsThemeData
Merges one StreamCallControlsThemeData with the another.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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