import 'package:flutter/material.dart'; class SkinInfo extends StatelessWidget { final String nama; final String asal; final String content; const SkinInfo({ super.key, required this.nama, required this.asal, required this.content, }); @override Widget build(BuildContext context) { return Column( children: [ Row( children: [ SizedBox( width: 120, child: Text( "Nama Pakaian", style: const TextStyle( letterSpacing: 0.2, fontSize: 16, fontWeight: FontWeight.bold, color: Colors.black, ), ), ), SizedBox(width: 5), Text( ":", style: const TextStyle( letterSpacing: 0.2, fontSize: 16, fontWeight: FontWeight.bold, color: Colors.black, ), ), SizedBox(width: 5), Text( nama, style: const TextStyle( letterSpacing: 0.2, fontSize: 16, fontWeight: FontWeight.bold, color: Colors.black, ), ), ], ), Row( children: [ SizedBox( width: 120, child: Text( "Daerah Asal", style: const TextStyle( letterSpacing: 0.2, fontSize: 16, fontWeight: FontWeight.bold, color: Colors.black, ), ), ), SizedBox(width: 5), Text( ":", style: const TextStyle( letterSpacing: 0.2, fontSize: 16, fontWeight: FontWeight.bold, color: Colors.black, ), ), SizedBox(width: 5), Text( asal, style: const TextStyle( letterSpacing: 0.2, fontSize: 16, fontWeight: FontWeight.bold, color: Colors.black, ), ), ], ), SizedBox(height: 20), Text( content, style: const TextStyle( letterSpacing: 0.2, fontSize: 16, fontWeight: FontWeight.normal, color: Colors.black, ), ), ], ); } }