userpilot_flutter 1.0.0 copy "userpilot_flutter: ^1.0.0" to clipboard
userpilot_flutter: ^1.0.0 copied to clipboard

Plugin package to bridge the native Userpilot SDKs in a Flutter application.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'src/features/app.dart';

/// Entry point of the app.
void main() {
  // Set the system UI overlay style for better visual consistency
  _setSystemUIOverlayStyle();

  // Run the UserpilotApp widget, the main application
  runApp(const UserpilotApp());
}

/// Sets the system UI overlay style, specifically customizing the status bar appearance.
void _setSystemUIOverlayStyle() {
  SystemChrome.setSystemUIOverlayStyle(
    const SystemUiOverlayStyle(
      statusBarIconBrightness: Brightness.dark, // Set dark icons on the status bar
      statusBarColor: Colors.transparent, // Makes the status bar background transparent
    ),
  );
}
1
likes
150
points
158
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin package to bridge the native Userpilot SDKs in a Flutter application.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on userpilot_flutter