flutter_presentation_display 2.0.2 copy "flutter_presentation_display: ^2.0.2" to clipboard
flutter_presentation_display: ^2.0.2 copied to clipboard

Flutter plugin designed to run on multiple displays, including handling secondary (presentation) display. It provides methods to interact with connected displays, transfer data, and respond to display [...]

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_presentation_display_example/route.dart';

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

@pragma('vm:entry-point')
void secondaryDisplayMain() {
  runApp(const MySecondApp());
}

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      onGenerateRoute: generateRoute,
      initialRoute: '/',
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      onGenerateRoute: generateRoute,
      initialRoute: 'presentation',
    );
  }
}
2
likes
0
pub points
50%
popularity

Publisher

verified publisherelriztechnology.com

Flutter plugin designed to run on multiple displays, including handling secondary (presentation) display. It provides methods to interact with connected displays, transfer data, and respond to display connection changes.

Repository (GitHub)
View/report issues

Topics

#secondary-display #presentation-display #display-manager #display-plugin #multiple-displays

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_presentation_display