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

outdated

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

banner A Flutter UI Library Include A Lot Of Convenient UI Component, Is On Developing Now. If You Want To Contribute To It, Please Fork And Do It. Enjoys!

UI Feature #

  • action sheet
  • avatar
  • badge
  • button
  • card
  • checklist
  • picker
  • datetime picker
  • divider
  • header
  • image
  • input
  • indicator
  • infinite scroll
  • load more
  • message box
  • picker
  • pricing
  • tooltip
  • progress
  • radio
  • rating
  • search
  • slider
  • social icon
  • swipe
  • switch
  • toast
  • markdown
  • browser

How to Use #

  1. add flutter_ui to your pubspec.yaml
  2. if you want to use Material UI,the UI Component name Start with M import 'package:flutter_ui/material.dart';, but if you
  3. if you want to use Cupertino UI,the UI Component name Start with C import 'package:flutter_ui/cupertino.dart';

Demo #

  1. ActionSheet

normal action sheet

    _pressed() {
        CActionSheet.show(
            title: 'yes or no',
            subTitle: 'please choose',
            context: context,
            callback: () {
              Navigator.pop(context);
              print('you choosed Yes');
            });
          }

custom action sheet

        var actions = [
          CAction(
              title: 'Apple',
              pressCallback: () {
                {
                  Navigator.of(context).pop();
                  MToast.show(msg: 'apple');
                }
              }),
          CAction(
              title: 'Banana',
              pressCallback: () {
                Navigator.of(context).pop();
                MToast.show(msg: 'Banana');
              }),
          CAction(
              title: 'Orange',
              pressCallback: () {
                Navigator.of(context).pop();
                MToast.show(msg: 'Orange');
              }),
          CAction(
              title: 'Watermelon',
              pressCallback: () {
                Navigator.of(context).pop();
                MToast.show(msg: 'Watermelon');
              }),
        ];
      

      _onPressed(){
      	CActionSheet.showCustom(
            context: context,
            actions: actions,
            title: 'fruits',
            subTitle: 'please choosed one of them');
      }

  1. Toast
  // where you want to show toast,please do like this.
  void _pressed(String message, MPosition position) {
      MToast.show(
          msg: message, position: position, length: MToastLength.SHORT);
    }

License #

MIT

14
likes
0
pub points
68%
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

unknown (LICENSE)

Dependencies

cached_network_image, flutter, fluttertoast, webview_flutter

More

Packages that depend on flutter_ui