OngoingCallPageStyle constructor

const OngoingCallPageStyle({
  1. Color actionIconColor = Colors.white,
  2. Decoration backgroundDecoration = const BoxDecoration(gradient: LinearGradient(begin: Alignment.topCenter, end: Alignment.bottomCenter, transform: GradientRotation(180), colors: [Color(0xff152134), Color(0xff0D2852), Color(0xff152134)])),
  3. TextStyle callerNameTextStyle = const TextStyle(fontWeight: FontWeight.w500, color: Colors.white, fontSize: 12),
  4. TextStyle callDurationTextStyle = const TextStyle(fontWeight: FontWeight.normal, color: Colors.white, fontSize: 12),
  5. TextStyle callStatusTextStyle = const TextStyle(fontWeight: FontWeight.w300, color: Colors.white, fontSize: 14),
  6. CallUserTileStyle pinnedCallUserTileStyle = const CallUserTileStyle(profileImageSize: 100, backgroundColor: Color(0xff0D2852), borderRadius: BorderRadius.zero),
  7. CallUserTileStyle listCallUserTileStyle = const CallUserTileStyle(profileImageSize: 50, backgroundColor: Color(0xff151F32)),
  8. CallUserTileStyle gridCallUserTileStyle = const CallUserTileStyle(profileImageSize: 60, backgroundColor: Color(0xff151F32), borderRadius: BorderRadius.all(Radius.circular(12))),
  9. ActionButtonStyle actionButtonsStyle = const ActionButtonStyle(),
  10. ButtonStyle disconnectButtonStyle = const ButtonStyle(),
})

Implementation

const OngoingCallPageStyle(
    {this.actionIconColor = Colors.white,
    this.backgroundDecoration = const BoxDecoration(
      gradient: LinearGradient(
        begin: Alignment.topCenter,
        end: Alignment.bottomCenter,
        transform: GradientRotation(180),
        colors: [
          Color(0xff152134),
          Color(0xff0D2852),
          Color(0xff152134),
        ],
      ),
    ),
    this.callerNameTextStyle = const TextStyle(
        fontWeight: FontWeight.w500, color: Colors.white, fontSize: 12),
    this.callDurationTextStyle = const TextStyle(
        fontWeight: FontWeight.normal, color: Colors.white, fontSize: 12),
    this.callStatusTextStyle = const TextStyle(
        fontWeight: FontWeight.w300, color: Colors.white, fontSize: 14),
    this.pinnedCallUserTileStyle = const CallUserTileStyle(
        profileImageSize: 100,
        backgroundColor: Color(0xff0D2852),
        borderRadius: BorderRadius.zero),
    this.listCallUserTileStyle = const CallUserTileStyle(
        profileImageSize: 50, backgroundColor: Color(0xff151F32)),
    this.gridCallUserTileStyle = const CallUserTileStyle(
      profileImageSize: 60,
      backgroundColor: Color(0xff151F32),
      borderRadius: BorderRadius.all(Radius.circular(12)),
    ),
    this.actionButtonsStyle = const ActionButtonStyle(),
    this.disconnectButtonStyle = const ButtonStyle()});