CallKeepBaseConfig class
The base configuration of the package
Holding information about the package that doesn't usually change, Useful for holding data about the package that can be used when creating CallKeepIncomingConfig or CallKeepOutgoingConfig
Constructors
-
CallKeepBaseConfig({required String appName, String contentTitle(String argument)?, String acceptText = 'Accept', String declineText = 'Decline', String missedCallText = 'Missed call', String callBackText = 'Call back', Map<
String, dynamic> ? headers, required CallKeepAndroidConfig androidConfig, required CallKeepIosConfig iosConfig})
Properties
- acceptText → String
-
Text Accept to be shown for the user to accept the call
final
- androidConfig → CallKeepAndroidConfig
-
Android configuration needed to customize the UI.
final
- appName → String
-
App's name. using for display inside Callkit.
final
- callBackText → String
-
Text Call Back to be shown for the user to call back after a missed call
final
- contentTitle → (String Function(String argument)?)
-
A function that is the base for CallKeepIncomingConfig.contentTitle
final
- declineText → String
-
Text Decline to be shown for the user to decline the call
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, dynamic> ? -
Any data for custom header avatar/background image.
final
- iosConfig → CallKeepIosConfig
-
iOS configuration needed for CallKit.
final
- missedCallText → String
-
Text Missed Call to be shown for the user to indicate a missed call
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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