buildTitleBar method
- dynamic context
Implementation
Widget buildTitleBar(BuildContext context) {
final lang = L10n.of(context);
// has no close button
return Row(
children: [
Container(
padding: const EdgeInsets.all(10),
child: Icon(isDesktop ? Atlas.laptop : Atlas.phone),
),
const SizedBox(width: 5),
Text(isVerifier ? lang.verifyOtherSession : lang.verifyThisSession),
],
);
}