0 purchases
coarse widgets
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
copied to clipboard
Import #
import 'package:coarse_widgets/coarse_widgets.dart';
copied to clipboard
Usage #
CommonWidgets CommonWidgets = CommonWidgets(context);
// Build Scaffold
Scaffold buildScaffold() {
return Scaffold(
appBar: CommonWidgets.appBar(
title: "Home",
),
);
}
copied to clipboard
// Build a loader in just one single line.
CommonWidgets.iaLoader()
copied to clipboard
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
*/
copied to clipboard
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 #
License #
MIT License
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.