telegram_client 0.3.75 copy "telegram_client: ^0.3.75" to clipboard
telegram_client: ^0.3.75 copied to clipboard

outdated

Telegram Client Lightweight, blazing and Highly customizable for make application telegram based tdlib, mtproto, or bot api and support server side.

example/lib/main.dart

// ignore_for_file: unused_local_variable, duplicate_ignore

import 'dart:math';
import 'package:flutter/material.dart';

void main() {
  runApp(
    const MaterialApp(
      debugShowCheckedModeBanner: true,
      title: "Azka Dev",
      home: App(),
    ),
  );
}

class App extends StatefulWidget {
  const App({Key? key}) : super(key: key);
  @override
  MyApp createState() => MyApp();
}

class MyApp extends State<App> {
  late String quote;
  @override
  void initState() {
    super.initState();
    setState(() {
      // ignore: unused_local_variable
      var quotes = ["hay kamu", "hay aku"];
      quote = quotes[Random().nextInt(quotes.length)];
    });
  }

  @override
  // ignore: duplicate_ignore, duplicate_ignore
  Widget build(BuildContext context) {
    final mediaQuery = MediaQuery.of(context);
    // ignore: unused_local_variable
    final getHeight = mediaQuery.size.height;
    final getWidth = mediaQuery.size.width;
    return MaterialApp(
      debugShowCheckedModeBanner: true,
      title: "Home",
      home: Center(
        child: Text("quote: ${quote.toString()}"),
      ),
    );
  }
}
155
likes
0
points
2.64k
downloads

Publisher

unverified uploader

Weekly Downloads

Telegram Client Lightweight, blazing and Highly customizable for make application telegram based tdlib, mtproto, or bot api and support server side.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, galaxeus_lib, http, path, universal_io, web_ffi

More

Packages that depend on telegram_client