Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit d3e36f0

Browse files
authored
Statistics footer (#25)
1 parent 25a057e commit d3e36f0

1 file changed

Lines changed: 57 additions & 1 deletion

File tree

lib/main.dart

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ class _NiconicoLivePageWidgetState extends State<NiconicoLivePageWidget> {
877877
),
878878
],
879879
),
880-
Flexible(
880+
Expanded(
881881
child: Padding(
882882
padding: const EdgeInsets.all(0.0),
883883
child: SingleChildScrollView(
@@ -955,6 +955,62 @@ class _NiconicoLivePageWidgetState extends State<NiconicoLivePageWidget> {
955955
),
956956
),
957957
),
958+
Row(
959+
mainAxisAlignment: MainAxisAlignment.start,
960+
children: [
961+
Expanded(
962+
child: Row(
963+
mainAxisAlignment: MainAxisAlignment.start,
964+
children: [
965+
Padding(
966+
padding: const EdgeInsets.all(8.0),
967+
child: Row(
968+
crossAxisAlignment: CrossAxisAlignment.center,
969+
children: [
970+
const SizedBox(width: 24.0, height: 24.0, child: FittedBox(child: Icon(Icons.person))),
971+
const SizedBox(width: 4.0),
972+
Text(statisticsMessage?.viewers != null ? statisticsMessage!.viewers.toString() : '-'),
973+
],
974+
),
975+
),
976+
Padding(
977+
padding: const EdgeInsets.all(8.0),
978+
child: Row(
979+
crossAxisAlignment: CrossAxisAlignment.center,
980+
children: [
981+
const SizedBox(width: 24.0, height: 24.0, child: FittedBox(child: Icon(Icons.comment))),
982+
const SizedBox(width: 4.0),
983+
Text(statisticsMessage?.viewers != null ? statisticsMessage!.comments.toString() : '-'),
984+
],
985+
),
986+
),
987+
Padding(
988+
padding: const EdgeInsets.all(8.0),
989+
child: Row(
990+
crossAxisAlignment: CrossAxisAlignment.center,
991+
children: [
992+
const SizedBox(width: 24.0, height: 24.0, child: FittedBox(child: Icon(Icons.campaign))),
993+
const SizedBox(width: 4.0),
994+
Text(statisticsMessage?.viewers != null ? statisticsMessage!.adPoints.toString() : '-'),
995+
],
996+
),
997+
),
998+
Padding(
999+
padding: const EdgeInsets.all(8.0),
1000+
child: Row(
1001+
crossAxisAlignment: CrossAxisAlignment.center,
1002+
children: [
1003+
const SizedBox(width: 24.0, height: 24.0, child: FittedBox(child: Icon(Icons.redeem))),
1004+
const SizedBox(width: 4.0),
1005+
Text(statisticsMessage?.viewers != null ? statisticsMessage!.giftPoints.toString() : '-'),
1006+
],
1007+
),
1008+
),
1009+
],
1010+
),
1011+
),
1012+
],
1013+
),
9581014
],
9591015
),
9601016
);

0 commit comments

Comments
 (0)