flutterfly 0.2.0+10 icon indicating copy to clipboard operation
flutterfly: ^0.2.0+10 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
130
pub points
31%
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)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on flutterfly