|
|
|
|
@ -196,7 +196,9 @@ class _slideDetailState extends State<slideDetail> {
|
|
|
|
|
alignment: Alignment.topLeft,
|
|
|
|
|
child: RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
text: widget.data[index].specifications[0].name,
|
|
|
|
|
text: widget.data[index].specifications != null ?
|
|
|
|
|
widget.data[index].specifications[0].name :
|
|
|
|
|
"No data",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
@ -211,7 +213,9 @@ class _slideDetailState extends State<slideDetail> {
|
|
|
|
|
alignment: Alignment.topLeft,
|
|
|
|
|
child: RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
text: widget.data[index].specifications[1].name,
|
|
|
|
|
text: widget.data[index].specifications != null ?
|
|
|
|
|
widget.data[index].specifications[1].name :
|
|
|
|
|
"No data",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.black54,
|
|
|
|
|
fontSize: 15,
|
|
|
|
|
@ -234,7 +238,9 @@ class _slideDetailState extends State<slideDetail> {
|
|
|
|
|
alignment: Alignment.topLeft,
|
|
|
|
|
child: RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
text: widget.data[index].specifications[2].name,
|
|
|
|
|
text:widget.data[index].specifications != null ?
|
|
|
|
|
widget.data[index].specifications[2].name :
|
|
|
|
|
"No data",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
@ -249,7 +255,9 @@ class _slideDetailState extends State<slideDetail> {
|
|
|
|
|
alignment: Alignment.topLeft,
|
|
|
|
|
child: RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
text: widget.data[index].specifications[3].name,
|
|
|
|
|
text: widget.data[index].specifications != null ?
|
|
|
|
|
widget.data[index].specifications[3].name :
|
|
|
|
|
"No data",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.black54,
|
|
|
|
|
fontSize: 15,
|
|
|
|
|
@ -272,7 +280,9 @@ class _slideDetailState extends State<slideDetail> {
|
|
|
|
|
alignment: Alignment.topLeft,
|
|
|
|
|
child: RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
text: widget.data[index].specifications[4].name,
|
|
|
|
|
text:widget.data[index].specifications != null ?
|
|
|
|
|
widget.data[index].specifications[4].name :
|
|
|
|
|
"No data",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
@ -287,7 +297,9 @@ class _slideDetailState extends State<slideDetail> {
|
|
|
|
|
alignment: Alignment.topLeft,
|
|
|
|
|
child: RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
text: widget.data[index].specifications[5].name,
|
|
|
|
|
text:widget.data[index].specifications != null ?
|
|
|
|
|
widget.data[index].specifications[5].name :
|
|
|
|
|
"No data",
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.black54,
|
|
|
|
|
fontSize: 15,
|
|
|
|
|
|