29 lines
743 B
Dart
29 lines
743 B
Dart
![]() |
/// 关注模块
|
||
|
library;
|
||
|
|
||
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class AttentionModule extends StatefulWidget {
|
||
|
const AttentionModule({ super.key });
|
||
|
|
||
|
@override
|
||
|
State<AttentionModule> createState() => _AttentionModuleState();
|
||
|
}
|
||
|
|
||
|
class _AttentionModuleState extends State<AttentionModule> {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Container(
|
||
|
color: Colors.amber[200],
|
||
|
child: Column(
|
||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||
|
spacing: 5.0,
|
||
|
children: [
|
||
|
Image.asset('assets/images/empty.png', width: 100.0,),
|
||
|
Text('暂无关注信息~', style: TextStyle(color: Colors.white54, fontSize: 14.0),),
|
||
|
],
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|