coarse_widgets 0.0.3 copy "coarse_widgets: ^0.0.3" to clipboard
coarse_widgets: ^0.0.3 copied to clipboard

A Package with predefined components to ease the development cycle.

Coarse Widgets #

A collection of pre-developed widgets to ease the development cycle and reduce the redundant code.

Installing #

dependencies:
  coarse_widgets: ^0.0.1

Import #

import 'package:coarse_widgets/coarse_widgets.dart';

Usage #

CommonWidgets CommonWidgets = CommonWidgets(context);

// Build Scaffold
  Scaffold buildScaffold() {
    return Scaffold(
      appBar: CommonWidgets.appBar(
        title: "Home",
      ),
    );
  }
// Build a loader in just one single line.
CommonWidgets.iaLoader()

Console Logger #

/// Use the [cwLog] to print the data on to the console.
cwLog.log("This is just a demo console log.");

// Additionally, you can also specify the kind of log this is going to be.
cwLog.log("Failed: '$e'.", level: Level.error);

/// Here is the list of all the levels of [cwLog] available.
/*
    * verbose
    * debug
    * info
    * warning
    * error
    * wtf
    * nothing
*/

Bugs/Requests #

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.

Authors #

Sagar Ghag

License #

MIT License

1
likes
90
pub points
0%
popularity

Publisher

unverified uploader

A Package with predefined components to ease the development cycle.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_spinkit, logger, package_info_plus, pin_code_fields

More

Packages that depend on coarse_widgets