hi guys! I'm facing this issue with Column Widget,
when I debug my app and open the page it pauses the debug process and gives me this arrow on text Widget I tried to write Fixed "String" value and still giving me this arrow in the same place
the arrow on Text widget
and I removed the entire widget but the arrow moved to the next widget witch is Row widget
when I removed the widget
I hope you can help me
- 1- no null values
- 2- no overlays
the code
class ProductScreenBody extends StatelessWidget {
final String productReturn;
final int price;
final int delivery;
final String deliveryTime;
final String name;
final String describtion;
final String image;
final String categoryPath;
final String warranty;
ProductScreenBody(
{Key? key,
required this.warranty,
required this.price,
required this.productReturn,
required this.delivery,
required this.deliveryTime,
required this.name,
required this.image,
required this.categoryPath,
required this.describtion})
: super(key: key);
@override
Widget build(BuildContext context) {
final ScreenHeight = MediaQuery.of(context).size.height;
final ScreenWidth = MediaQuery.of(context).size.width;
return Container(
height: ScreenHeight,
child: Column(
children: [
Container(
width: ScreenWidth,
margin: EdgeInsets.all(10),
padding: EdgeInsets.all(15),
decoration: BoxDecoration(
color: Colors.white, borderRadius: BorderRadius.circular(30)),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
describtion,
style: TextStyle(
color: Colors.black,
fontSize: 20,
fontWeight: FontWeight.bold),
),
Text(categoryPath,
style: TextStyle(
color: Colors.grey, fontWeight: FontWeight.bold)),
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
ProductRating(),
Text(
"(5/5)",
),
Text(" Ordered (" + 122.toString() + ") times.",
style: TextStyle(
color: Colors.grey, fontWeight: FontWeight.bold))
],
)
],
),
)
],
),
);
}
}
