1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| class MyPage extends StatelessWidget { const MyPage({Key? key}) : super(key: key);
@override Widget build(BuildContext context) { return Column( children: [ Card( margin: const EdgeInsets.all(30), shadowColor: Colors.black, elevation: 20, shape: const RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(10)), side: BorderSide(color: Colors.lightBlueAccent) ), child: Column( children: const [ ListTile( leading: CircleAvatar( radius: 30, backgroundImage: NetworkImage('https://img1.imgtp.com/2022/08/23/HgJi7gyB.JPG'), ), title: Text('Kahvia!'), subtitle: Text('三峡大学'), ), Divider( color: Colors.grey, ), ListTile( title: Text('联系方式:1313131313'), ), ListTile( title: Text('QQ:914302063'), ), ], ), ), ], ); } }
|