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) => 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,
),
)
]),
));
}