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

A Flutter UI package,include action sheet,badge,button,check list,datetime picker, field,index list etc...

example/lib/main.dart

import 'package:example/components/action_sheet.dart';
import 'package:example/router.dart';
import 'package:example/components/toast.dart';
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter UI Show',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
      routes: {
        Router.actionSheet: (context) => ActionSheet(),
        Router.toast: (context) => Toast(),
      },
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('flutter UI Show'),
      ),
      body: ListView(
        children: <Widget>[
          ListTile(
            leading: Icon(FontAwesomeIcons.shekelSign, color: Colors.blue),
            trailing: Icon(Icons.keyboard_arrow_right),
            title: Text('action sheet'),
            onTap: () => Navigator.of(context).pushNamed(Router.actionSheet),
          ),
          Divider(color: Colors.grey),
          ListTile(
            leading: Icon(FontAwesomeIcons.tag, color: Colors.blue),
            trailing: Icon(Icons.keyboard_arrow_right),
            title: Text('toast'),
            onTap: () => Navigator.of(context).pushNamed(Router.toast),
          ),
          Divider(color: Colors.grey),
        ],
      ),
    );
  }
}
14
likes
40
pub points
53%
popularity

Publisher

verified publisherflutter-jp.com

A Flutter UI package,include action sheet,badge,button,check list,datetime picker, field,index list etc...

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cached_network_image, flutter, fluttertoast, webview_flutter

More

Packages that depend on flutter_ui