debug_bricks_fcm_token 0.0.2 copy "debug_bricks_fcm_token: ^0.0.2" to clipboard
debug_bricks_fcm_token: ^0.0.2 copied to clipboard

outdated

FCM Token UI debug brick

UI component which displays FCM token.

Dependencies #

This package use firebase_messaging package. Before using brick make sure that your project setup firebase correctly.

Getting started #

Add to your pubspec.yaml:

dependencies:
  debug_bricks_fcm_token: <last_version>

Usage #

TextBrick

TextBrick

import 'package:debug_bricks_fcm_token/debug_bricks_fcm_token.dart';

class DebugScreen extends StatelessWidget {
  const DebugScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return FcmTokenBrick(
      title: 'FCM token',
    );
  }
}