multiple_screens 0.2.0 icon indicating copy to clipboard operation
multiple_screens: ^0.2.0 copied to clipboard

discontinued

Flutter plugin for determing whether the device supports multiple screens and whether the app is currently spanned across both screen.

multiple_screens #

pub package Build Status

A Flutter plugin to determine whether the device supports multiple screens and whether the app is currently spanned across both screen.

Usage #

import 'package:multiple_screens/multiple_screens.dart';

Determine whether the app is run on a multiple screen device

bool isMultipleDevice = await MultipleScreens.isMultipleScreensDevice;

Determine whether the app is currently spanned across both screens

bool isAppSpanned = await MultipleScreens.isAppSpanned;

Subscribing to app spanned across both screen stream

MultipleScreens.isAppSpannedStream().listen(
  (data) => setState(() => _isAppSpannedStream = data)
);

Using the MultipleScreensScaffold widget

MultipleScreensScaffold(
  //Must supply whether the app is spanned
  //This can be the result of the app spanned stream
  appSpanned
  //left and right must be specified without body
  //or body must be specified without left and right
  left
  right
  body
)

Getting Started #

See the example directory for a complete sample app

Issues and feedback #

Please file issues, bugs, or feature requests in our github issue tracker.

5
likes
0
pub points
17%
popularity

Suggested replacement

dual_screen

Publisher

verified publisher iconbuilttoroam.com

Flutter plugin for determing whether the device supports multiple screens and whether the app is currently spanned across both screen.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on multiple_screens