fluttery_dart2 0.0.9 copy "fluttery_dart2: ^0.0.9" to clipboard
fluttery_dart2: ^0.0.9 copied to clipboard

Flutter package that helps with prototyping. (but you know for dart 2... will not be useful once dude updates his package...)

example/lib/main.dart

import 'directory_screen.dart';
import 'example_animation_player.dart';
import 'example_framing.dart';
import 'example_layout_overlay.dart';
import 'example_radial_drag.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Fluttery Example',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      routes: {
        '/': (context) => new Page(
          child: new DirectoryScreen(),
        ),
        '/randomColorBlock': (context) => new Page(
          child: new RandomColorBlockExampleScreen(),
        ),
        '/layoutOverlay': (context) => new Page(
          child: new LayoutOverlayExampleScreen(),
        ),
        '/radialDrag': (context) => new Page(
          child: new RadialDragExampleScreen(),
        ),
        '/animationPlayer': (context) => new Page(
          child: new AnimationPlayerExampleScreen(),
        ),
      },
    );
  }
}

class Page extends StatefulWidget {

  final child;

  Page({
    this.child,
  });

  @override
  _PageState createState() => new _PageState();
}

class _PageState extends State<Page> {
  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        title: new Text('Fluttery'),
      ),
      body: widget.child,
    );
  }
}
1
likes
40
pub points
31%
popularity

Publisher

unverified uploader

Flutter package that helps with prototyping. (but you know for dart 2... will not be useful once dude updates his package...)

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on fluttery_dart2