buildTitleBar method

dynamic buildTitleBar(
  1. dynamic context
)

Implementation

Widget buildTitleBar(BuildContext 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
            ? L10n.of(context).verifyOtherSession
            : L10n.of(context).verifyThisSession,
      ),
    ],
  );
}