All Projects → aloisdeniel → Flutter_device_preview

aloisdeniel / Flutter_device_preview

Licence: mit
Approximate how your app looks and performs on another device.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Flutter device preview

Ving
🐸 A ping utility with nice output, with powerful traceroute and port probe.
Stars: ✭ 62 (-94.79%)
Mutual labels:  tool
Parser Javascript
Browser sniffing gone too far — A useragent parser library for JavaScript
Stars: ✭ 66 (-94.46%)
Mutual labels:  device
Cloud Security Audit
A command line security audit tool for Amazon Web Services
Stars: ✭ 68 (-94.29%)
Mutual labels:  tool
Laravel Cadillac
🍺 A database tool for laravel.
Stars: ✭ 63 (-94.71%)
Mutual labels:  tool
Minecraft Armorstand
This tool generates a summon command, to summon an armorstand in a desired pose.
Stars: ✭ 65 (-94.54%)
Mutual labels:  tool
Docnado
Rapid documentation tool that will blow you away...
Stars: ✭ 67 (-94.37%)
Mutual labels:  tool
Slickermaster Rev4
NSA Hacking Tool Recreation UnitedRake
Stars: ✭ 62 (-94.79%)
Mutual labels:  tool
Eye
Process monitoring tool. Inspired from Bluepill and God.
Stars: ✭ 1,167 (-2.02%)
Mutual labels:  tool
Atlasc
Builds atlas texture from a bunch of input images.
Stars: ✭ 66 (-94.46%)
Mutual labels:  tool
Animockup
Create animated mockups in the browser 🔥
Stars: ✭ 1,152 (-3.27%)
Mutual labels:  tool
Align
A general purpose application and library for aligning text.
Stars: ✭ 63 (-94.71%)
Mutual labels:  tool
Neutron
Neutron is a CLI developed to help developers create new react projects with Redux + Redux Saga and offers well-structured code standardization.
Stars: ✭ 65 (-94.54%)
Mutual labels:  tool
Androidtools
Android开发工具类库.Toolkit of Android development, make your app developing easier!
Stars: ✭ 67 (-94.37%)
Mutual labels:  tool
Mthawkeye
Profiling / Debugging assist tools for iOS. (Memory Leak, OOM, ANR, Hard Stalling, Network, OpenGL, Time Profile ...)
Stars: ✭ 1,119 (-6.05%)
Mutual labels:  tool
Andes
Python toolbox / library for power system transient dynamics simulation with symbolic modeling and numerical analysis 🔥
Stars: ✭ 68 (-94.29%)
Mutual labels:  tool
Nova Custom Email Sender
A Laravel Nova tool that sends ad-hoc email messages from the dashboard.
Stars: ✭ 62 (-94.79%)
Mutual labels:  tool
Revokemsgpatcher
A hex editor for WeChat/QQ/TIM - PC版微信/QQ/TIM防撤回补丁(我已经看到了,撤回也没用了)
Stars: ✭ 12,482 (+948.03%)
Mutual labels:  tool
Goscraper
Golang pkg to quickly return a preview of a webpage (title/description/images)
Stars: ✭ 72 (-93.95%)
Mutual labels:  preview
Imgursniper
📷 A quick and easy Image, Screenshot and Screen recording sharing tool
Stars: ✭ 69 (-94.21%)
Mutual labels:  tool
React Device Detect
Detect device, and render view according to detected device type.
Stars: ✭ 1,145 (-3.86%)
Mutual labels:  device

Device Preview for Flutter

Approximate how your app looks and performs on another device.

Device Preview for Flutter

Main features

  • Preview any device from any device
  • Change the device orientation
  • Dynamic system configuration (language, dark mode, text scaling factor, ...)
  • Freeform device with adjustable resolution and safe areas
  • Keep the application state
  • Plugin system (Screenshot, File explorer, ...)
  • Customizable plugins

Quickstart

Wrap your app's root widget in a DevicePreview and inject the dedicated builder and locale into your app.

Make sure to provide locale and builder to your WidgetsApp. If not defined, MediaQuery won't be simulated for the selected device and selected locale won't be applied.

import 'package:device_preview/device_preview.dart';

void main() => runApp(
  DevicePreview(
    enabled: !kReleaseMode,
    builder: (context) => MyApp(), // Wrap your app
  ),
);

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      locale: DevicePreview.locale(context), // Add the locale here
      builder: DevicePreview.appBuilder, // Add the builder here
      home: HomePage(),
    );
  }
}

Documentation

Open the website

Demo

Open the demo

Limitations

Think of Device Preview as a first-order approximation of how your app looks and feels on a mobile device. With Device Mode you don't actually run your code on a mobile device. You simulate the mobile user experience from your laptop, desktop or tablet.

!> There are some aspects of mobile devices that Device Preview will never be able to simulate. When in doubt, your best bet is to actually run your app on a real device.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].