fancy_states 0.0.2 copy "fancy_states: ^0.0.2" to clipboard
fancy_states: ^0.0.2 copied to clipboard

Fancy Error States

fancy_states #

Github stars Pub Version

Fancy States is a flutter widget library, include different error states which are fully customizable and can be extended on request. No more extra hassle for all the extra working around with different states.

Installation #

  1. Add this to your packages pubspec.yaml file:
dependencies:
  fancy_states: <latest version>
  1. Install it You can install it from the command line:
$ flutter pub get
  1. Import it Now in Dart code, you can use:
import 'package:fancy_states/fancy_states.dart';

Screenshot #

Using #

You need to use just the following code:

Default Type #

FancyState(
state: States.internet   
),

Internet State #

FancyState(
state: States.internet
),

Data State #

FancyState(
state: States.data
),

Search State #

FancyState(
state: States.search
),

Server State #

FancyState(
state: States.server
),

Customizable State #

FancyState(
state: States.internet,
image:"path_to_image",
title:"Your Title",
description:"Your Description",
imageHeight:100,
titleStyle: const TextStyle(fontFamily: 'Futura',fontSize: 16,fontWeight: FontWeight.w600,color: Colors.black),
descriptionStyle: const  TextStyle(fontFamily: 'Futura',fontSize: 12,fontWeight: FontWeight.w300,color: Color(0xFF8F8E8E),
),
1
likes
120
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

Fancy Error States

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on fancy_states