cellular_info 1.0.3 copy "cellular_info: ^1.0.3" to clipboard
cellular_info: ^1.0.3 copied to clipboard

A Flutter plugin that provides access to 5G NR (New Radio) information on Android devices using TelephonyManager.requestCellInfoUpdate(). Delivers real-time cell info through a Dart Stream.

example/lib/main.dart

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

import 'package:flutter/services.dart';
import 'package:cellular_info/cellular_info.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final _cellularInfoPlugin = CellularInfo();

  @override
  void initState() {
    super.initState();
    initPlatformState();
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initPlatformState() async {

  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('Running on: \n'),
        ),
      ),
    );
  }
}
0
likes
0
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that provides access to 5G NR (New Radio) information on Android devices using TelephonyManager.requestCellInfoUpdate(). Delivers real-time cell info through a Dart Stream.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on cellular_info

Packages that implement cellular_info