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

unlistedoutdated

Simulates different devices for fast Flutter prototyping.

example/main.dart

import 'package:dotup_flutter_simulator/dotup_flutter_simulator.dart';
import 'package:flutter/material.dart';

const bool debugEnableDeviceSimulator = true;

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'dotup rapid flutter prototyping',
      home: DeviceSimulator(
        initialDeviceIndex: 3,
        initialPlatform: TargetPlatform.android,
        orientation: Orientation.portrait,
        brightness: Brightness.dark,
        showBottomBar: true,
        enable: debugEnableDeviceSimulator,
        // builder: (_) => ScreenInfoPage(),
        builder: (_) {
          return Scaffold(
            appBar: AppBar(
              title: Text('dotup'),
            ),
            body: Center(
              child: Text('www.dotup.de'),
            ),
          );
        },
      ),
    );
  }
}
0
likes
60
pub points
0%
popularity

Publisher

verified publisherdotup.de

Simulates different devices for fast Flutter prototyping.

Homepage

Documentation

API reference

License

unknown (LICENSE)

Dependencies

dotup_flutter_widgets, flutter, font_awesome_flutter

More

Packages that depend on dotup_flutter_simulator