Flutter_Nectar 0.1.0 copy "Flutter_Nectar: ^0.1.0" to clipboard
Flutter_Nectar: ^0.1.0 copied to clipboard

Dart 1 only

Flutter widget to fade the display of an network image.

Nectar #

Flutter widget to fade the display of an network image. You can configure the 'waiting' child and the fading duration.

Usage #

new NectarImage.loadingScreen(
        'https://camo.githubusercontent.com/cc78649bf43a7295cbab36eb7b5c7fe05b0f2bdb/68747470733a2f2f666c75747465722e696f2f696d616765732f666c75747465722d6d61726b2d7371756172652d3130302e706e67',
        duration: 4000, // optional
        backgroundColor: Colors.white, // optional, define default waiting background
        foregroundColor: Colors.blue, // optional, define default waiting foreground
        // optional, replace waiting with your Widget like your animation or image.
        /*waiting: new Icon(
            Icons.person,
            size: 18.0,
            color: Colors.red
        )*/
      ),

Getting Started #

Find more Flutter Resources =>Awesome Flutter

0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Flutter widget to fade the display of an network image.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on Flutter_Nectar