A widget that creates a thick visual effect by stacking multiple layers of a given child widget with slight translations based on the thickness value.
Add this line to your pubspec.yaml.
dependencies:
thicken: ^1.1.2First, import the thicken package.
import 'package:thicken/thicken.dart';And use it like this
Thicken(
thickness: 0.15,
child: Icon(
Icons.accessibility,
size: 50.0,
),
);| Property | Purpose |
|---|---|
| pixelRatio | The sharpness quality of the stroke. |
| thickness | The amount of thickness applied. (It is not recommended to set thickness greater than 1.0) |
| child | The child widget that will be thickened as multiple layers. |
