defaultBuilder method
Default builder for the widget, which is necessary and must been override.
Implementation
@override
Widget defaultBuilder(BuildContext context) {
return TencentCloudChatThemeWidget(
build: (context, colorTheme, textStyle) => Scaffold(
appBar: AppBar(
leadingWidth: getWidth(100),
leading: GestureDetector(
onTap: () => Navigator.of(context).pop(),
child: Row(children: [
Padding(padding: EdgeInsets.only(left: getWidth(10))),
Icon(
Icons.arrow_back_ios_outlined,
color: colorTheme.contactBackButtonColor,
size: getSquareSize(24),
),
Padding(padding: EdgeInsets.only(left: getWidth(8))),
Text(
tL10n.back,
style: TextStyle(
color: colorTheme.contactBackButtonColor,
fontSize: textStyle.fontsize_14,
),
)
]),
),
),
body: Container(
color: colorTheme.backgroundColor,
child: Center(
child: TencentCloudChatGroupProfileMemberListAzList(
groupInfo: widget.groupInfo,
memberInfoList: widget.memberInfoList,
),
))));
}