feat: stream info card

closes #20
This commit is contained in:
2025-05-14 13:11:05 +01:00
parent f094569ed4
commit eefbbc2f73
2 changed files with 56 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import 'package:zap_stream_flutter/widgets/button.dart';
import 'package:zap_stream_flutter/widgets/chat.dart';
import 'package:zap_stream_flutter/widgets/pill.dart';
import 'package:zap_stream_flutter/widgets/profile.dart';
import 'package:zap_stream_flutter/widgets/stream_info.dart';
import 'package:zap_stream_flutter/widgets/zap.dart';
class StreamPage extends StatefulWidget {
@ -160,6 +161,16 @@ class _StreamPage extends State<StreamPage> {
),
),
),
GestureDetector(
onTap: () {
showModalBottomSheet(
context: context,
constraints: BoxConstraints.expand(),
builder: (context) => StreamInfoWidget(stream: stream),
);
},
child: Icon(Icons.info),
),
],
),
],