flutterfly 0.2.1 copy "flutterfly: ^0.2.1" to clipboard
flutterfly: ^0.2.1 copied to clipboard

A collection of common widgets, validators, extensions, utilities, as well as some other stuffs that are currently non-existent.

example/lib/main.dart

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

final RouteObserver<PageRoute> routeObserver = RouteObserver<PageRoute>();

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

class FlyApp extends StatefulWidget {
  @override
  _FlyAppState createState() => _FlyAppState();
}

class _FlyAppState extends State<FlyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        theme: ThemeData(fontFamily: 'JosefinSans'),
        title: 'View Test',
        navigatorObservers: [routeObserver],
        home: _Layout());
  }
}

class _Layout extends StatefulWidget {
  @override
  _LayoutState createState() => _LayoutState();
}

class _LayoutState extends State<_Layout> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
          child: Padding(
        padding: EdgeInsets.all(10),
        child: HomePage(),
      )),
    );
  }
}
1
likes
120
pub points
47%
popularity

Publisher

unverified uploader

A collection of common widgets, validators, extensions, utilities, as well as some other stuffs that are currently non-existent.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on flutterfly