fading_avatar 1.0.3+1
fading_avatar: ^1.0.3+1

Flutter Android iOS web

A new Flutter project.

Fading Avatar #

[Demo CountPages alpha]

A fading avatar #

Simply use it with properties #

top:

    The space from the top of the screen

left:

    The space from the left side of the screen

radius:

    Radius of circle avatar

expandTimes:

    Lenght of widget animation. default value is 1

child:

    Background widget. It should be Scrollable

controller:

    Controller which attached to your child list view

reverse:

    Set it true if you want it to be from min size to max size. its default value is false

image:

    The Avatar image you want to use

border:

    BoxBorder of your image

Example using: #

[Demo CountPages alpha]

    ScrollController controller = ScrollController();
    ...
    AvatarStack(
    controller: controller,
    top: 200,
    radius: 150,
    child: ListView(
      controller: controller,
      children: [
        ...[
          Colors.red,
          Colors.blue,
          Colors.blueGrey,
          Colors.deepPurple,
          Colors.green,
          Colors.amber,
          Colors.black,
          Colors.purple,
          Colors.yellow,
          Colors.brown
        ].map((e) => Container(width: 450, height: 200, color: e))
      ],
    ),
  ),

VIRA CODE #

Github #

1
likes
90
pub points
26%
popularity

A new Flutter project.

Homepage

Documentation

API reference

Uploader

sajad.abdollahi1380@gmail.com

License

BSD (LICENSE)

Dependencies

cupertino_icons, flutter

More

Packages that depend on fading_avatar