image_shadow 0.0.2 icon indicating copy to clipboard operation
image_shadow: ^0.0.2 copied to clipboard

A new Flutter package project.

Simple Widget to create Image with Shadow in Flutter.

Features #

  • Able to adjust border radius size
  • Able to adjust blur radius size
  • Able to adjust scale of shadow
  • Able to adjust offset of shadow

Getting started #

Add this line into your pubspec.yaml

dependencies:
  image_shadow: ^0.0.1

dont forget to refresh

$ flutter pub get

Usage #

import 'package:image_shadow/image_shadow.dart';

...

ImageShadow(
  blurRadius: 6,
  borderRadius: 20,
  scale: 1,
  offset: Offset(5, 5),
  image: Image.asset(
    "assets/images/logo.jpg",
  ),
);

Params #

NameTypeDefault ValueOption
blurRadiusdouble?8.0Nullable
borderRadiusdouble?0Nullable
scaledouble?1Nullable
offsetOffset?Offset(8.0, 8.0)Nullable
imageImage-Mandatory

Additional information #

Please feel free to open the issue on the github repo or contribute if you found some bug.

0
likes
100
pub points
3%
popularity

Publisher

unverified uploader

A new Flutter package project.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on image_shadow