Use Telegram Login Widget for web auth
Some checks failed
Build and deploy Flutter Web / build (push) Has been cancelled
Some checks failed
Build and deploy Flutter Web / build (push) Has been cancelled
This commit is contained in:
12
lib/auth/telegram_login_button_stub.dart
Normal file
12
lib/auth/telegram_login_button_stub.dart
Normal file
@@ -0,0 +1,12 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class TelegramLoginButton extends StatelessWidget {
|
||||
const TelegramLoginButton({required this.onAuthenticated, super.key});
|
||||
|
||||
final VoidCallback onAuthenticated;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const FilledButton(onPressed: null, child: Text('Telegram'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user