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