daily_inspiration_quotes

Creator: coderz1093

Last updated:

0 purchases

daily_inspiration_quotes Image
daily_inspiration_quotes Images

Languages

Categories

Add to Cart

Description:

daily inspiration quotes

Daily Inspiration Quotes #
Inspiration quotes are desirable for many tutorial, educational or practicing applications that
require motivated users.
Plugin provides QuoteDialogButton and QuoteLoadingScreen widgets that provide 1643 different inspiration quotes which are beeing randomly displayed to the user without repetition.
QuoteDialogButton on pressed triggers the ShowDialog function after which the application displays random quote together with its author.
QuoteLoadingScreen could be used in the LoadingState of the application. Together with set of quotes application displays a ProgressIndicator.
Dialogs and button are customizable, developer is able to set the background and text colors, as well as the desirable Icon for the button.
Demo #

How to use? #

Add the following dependency to pubspec.yaml of your project:

dependencies:
daily_inspiration_quotes: ^0.0.1
copied to clipboard

Import daily_inspiration_quotes.dart to your code.

import 'package:daily_inspiration_quotes/daily_inspiration_quotes.dart';
copied to clipboard
QuoteDialogButton
Anywhere in the code you can simply call the function QuoteDialogButton and optionally specify following parameters:

canvasColor,
textColor,
buttonIcon,
buttonColor
fontFamily
fontWeight
and fontStyle

QuoteLoadingScreen
Whenewer you have to wait for an asynchronous action to complete and some LoadingState displayed to user, instead of just showing ProgressIndicator one can return QuoteLoadingScreen and optionally specify canvasColor and textColor of type Color and Font parameters.
Example Code:
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Users List"),
),
floatingActionButton: QuoteDialogButton(
canvasColor: Colors.amber.shade200,
textColor: Colors.black45,
buttonIcon: Icons.lightbulb_circle_rounded,
buttonColor: Colors.amber,
),
body: buildBloc(),
);
}
copied to clipboard
Licence #
MIT Licence
Author #
Nikola Novarlic

Edu email : [email protected]
Telegram : novarlic

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.