[1266] add debug page to check the mute flow

This commit is contained in:
kanat
2023-06-08 20:20:28 -07:00
parent caeadfe1bd
commit dc1e6e54e8
11 changed files with 512 additions and 0 deletions
@@ -1,10 +1,14 @@
// ignore_for_file: public_member_api_docs
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:responsive_builder/responsive_builder.dart';
import 'package:stream_chat_flutter/stream_chat_flutter.dart';
import 'package:stream_chat_localizations/stream_chat_localizations.dart';
import 'debug/channel_page.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
@@ -255,6 +259,19 @@ class _ChannelPageState extends State<ChannelPage> {
widget.onBackPressed!(context);
}
: null,
onImageTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) {
return StreamChannel(
channel: StreamChannel.of(context).channel,
child: const DebugChannelPage(),
);
},
),
);
},
showBackButton: widget.showBackButton,
),
body: Column(