fix : incorrect parent

This commit is contained in:
2025-07-02 08:49:24 +03:30
parent 157398494b
commit 0da9f54d35

View File

@@ -49,20 +49,18 @@ Widget buildRowOnTapped({
children: [ children: [
Flexible( Flexible(
flex: 2, flex: 2,
child: child: titleWidget ??
titleWidget ??
Text( Text(
title ?? 'N/A', title ?? 'N/A',
textAlign: TextAlign.right, textAlign: TextAlign.right,
style: titleStyle ?? AppFonts.yekan14.copyWith(color: AppColor.darkGreyDarkHover), style: titleStyle ?? AppFonts.yekan14.copyWith(color: AppColor.darkGreyDarkHover),
), ),
), ),
GestureDetector( Flexible(
onTap: onTap,
child: Flexible(
flex: 2, flex: 2,
child: child: GestureDetector(
valueWidget ?? onTap: onTap,
child: valueWidget ??
Text( Text(
value ?? 'N/A', value ?? 'N/A',
textAlign: TextAlign.left, textAlign: TextAlign.left,