OutgoingCallPageStyle constructor

const OutgoingCallPageStyle({
  1. Decoration backgroundDecoration = const BoxDecoration(gradient: LinearGradient(begin: Alignment.topCenter, end: Alignment.bottomCenter, transform: GradientRotation(180), colors: [Color(0xff152134), Color(0xff0D2852), Color(0xff152134)])),
  2. TextStyle callStatusTextStyle = const TextStyle(fontWeight: FontWeight.w300, color: Color(0xffDEDEDE), fontSize: 14),
  3. TextStyle callerNameTextStyle = const TextStyle(fontWeight: FontWeight.w500, color: Colors.white, fontSize: 18),
  4. Size profileImageSize = const Size(105, 105),
  5. Color profileRippleColor = Colors.red,
  6. ActionButtonStyle actionButtonsStyle = const ActionButtonStyle(),
  7. ButtonStyle disconnectButtonStyle = const ButtonStyle(),
})

Implementation

const OutgoingCallPageStyle(
    {this.backgroundDecoration = const BoxDecoration(
      gradient: LinearGradient(
        begin: Alignment.topCenter,
        end: Alignment.bottomCenter,
        transform: GradientRotation(180),
        colors: [
          Color(0xff152134),
          Color(0xff0D2852),
          Color(0xff152134),
        ],
      ),
    ),
    this.callStatusTextStyle = const TextStyle(
        fontWeight: FontWeight.w300, color: Color(0xffDEDEDE), fontSize: 14),
    this.callerNameTextStyle = const TextStyle(
        fontWeight: FontWeight.w500, color: Colors.white, fontSize: 18),
    this.profileImageSize = const Size(105, 105),
    this.profileRippleColor = Colors.red,
    this.actionButtonsStyle = const ActionButtonStyle(),
    this.disconnectButtonStyle = const ButtonStyle()});