Sunday, 4 August 2019

A sample application to show Paytm Flutter Clone

TEMPLATES Flutter representation of a Crypto app Concept

Flutter Cryptocurrency app Concept

Flutter representation of a Crypto app Concept from Uplabs.

✨ Requirements

  • Any Operating System (ie. MacOS X, Linux, Windows)
  • Any IDE with Flutter SDK installed (ie. IntelliJ, Android Studio, VSCode etc)
  • A little knowledge of Dart and Flutter
  • A brain to think 🤓🤓

ScreenShots







Toggle theme

To toggle the theme, change the isDark variable in main.dart.
true for dark and false for light.

Author(s)

Olusegun Festus Babajide

GitHub

Flutter representation of a Crypto app Concept — Read More
Latest commit to the master branch on 7-23-2019
Download as zip



Saturday, 3 August 2019

A package can help you to change your flutter app's statusbar's color

statusbar


flutter_statusbarcolor

A package can help you to change your flutter app's statusbar's color or navigationbar's color programmatically.

Getting Started

Installation

Add this to your pubspec.yaml (or create it):
dependencies:
  flutter_statusbarcolor: any
YAML
Then run the flutter tooling:
flutter packages get
Bash

Example

// change the status bar color to material color [green-400]
await FlutterStatusbarcolor.setStatusBarColor(Colors.green[400]);
if (useWhiteForeground(Colors.green[400])) {
  FlutterStatusbarcolor.setStatusBarWhiteForeground(true);
} else {
  FlutterStatusbarcolor.setStatusBarWhiteForeground(false);
}

// change the navigation bar color to material color [orange-200]
await FlutterStatusbarcolor.setNavigationBarColor(Colors.orange[200]);
if (useWhiteForeground(Colors.orange[200]) {
  FlutterStatusbarcolor.setNavigationBarWhiteForeground(true);
} else {
  FlutterStatusbarcolor.setNavigationBarWhiteForeground(false);
}

// get statusbar color and navigationbar color
Color statusbarColor = await FlutterStatusbarcolor.getStatusBarColor();
Color navigationbarColor = await FlutterStatusbarcolor.getNavigationBarColor();
statusbar

Details in example/ folder.

Api level minimum requirement

  • android
    • getStatusBarColor (5.0)
    • setStatusBarColor (5.0)
    • setStatusBarWhiteForeground (6.0)
    • getNavigationBarColor (5.0)
    • setNavigationBarColor (5.0)
    • setNavigationBarWhiteForeground (8.0)
  • ios
    • getStatusBarColor (7+)
    • setStatusBarColor (7+)
    • setStatusBarWhiteForeground (7+)

Note that

  • If you find the foreground brightness reverted after changing the app lifecycle,
    please use flutter's WidgetsBindingObserver mixin.
  • If ios build does not work, please send issues or pull requests.

GitHub

A package can help you to change your flutter app's statusbar's color or navigationbar's color programmatically. — Read More
Latest commit to the master branch on 7-23-2019
Download as zip

A beautiful and custom alert dialog for flutter

 custom alert dialog for flutter

Giffy Dialogs

A beautiful and custom alert dialog for flutter highly inspired from FancyAlertDialog-Android.
The source code is 100% Dart, and everything resides in the /lib folder.

 Installation

In the dependencies: section of your pubspec.yaml, add the following line:
dependencies:
  giffy_dialog: <latest version>
YAML

Usage

Import this class

import 'package:giffy_dialog/giffy_dialog.dart';
Dart

Network giffy dialog


 custom alert dialog for flutter


onPressed: () {
  showDialog(
  context: context,builder: (_) => NetworkGiffyDialog(
    imageUrl:"https://raw.githubusercontent.com/Shashank02051997/
              FancyGifDialog-Android/master/GIF's/gif14.gif",
    title: Text('Granny Eating Chocolate',
            textAlign: TextAlign.center,
            style: TextStyle(
            fontSize: 22.0,
            fontWeight: FontWeight.w600)),
    description:Text('This is a granny eating chocolate dialog box.
          This library helps you easily create fancy giffy dialog',
          textAlign: TextAlign.center,
        ),
    onOkButtonPressed: () {},
  ) );
}

Flare giffy dialog

 custom alert dialog for flutter
onPressed: () {
  showDialog(
  context: context,builder: (_) => FlareGiffyDialog(
    flarePath: 'assets/space_demo.flr',
    flareAnimation: 'loading',
    title: Text('Space Reloading',
           style: TextStyle(
           fontSize: 22.0, fontWeight: FontWeight.w600),
    ),
    description: Text('This is a space reloading dialog box.
          This library helps you easily create fancy flare dialog.',
          textAlign: TextAlign.center,
          style: TextStyle(),
        ),
    onOkButtonPressed: () {},
  ) );
}

Asset giffy dialog

 custom alert dialog for flutter
onPressed: () {
  showDialog(
  context: context,builder: (_) => AssetGiffyDialog(
    imagePath: 'assets/men_wearing_jacket.gif',
    title: Text('Men Wearing Jackets',
            style: TextStyle(
            fontSize: 22.0, fontWeight: FontWeight.w600),
    ),
    description: Text('This is a men wearing jackets dialog box.
          This library helps you easily create fancy giffy dialog.',
          textAlign: TextAlign.center,
          style: TextStyle(),
        ),
    onOkButtonPressed: () {},
  ) );
}
Dart

GitHub

A Flutter package for a quick and handy giffy dialog. — Read More
Latest commit to the master branch on 7-24-2019
Download as zip