thicken 1.1.2

SDKflutter
Platformandroidioswindowslinuxmacosweb

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.

Thicken Logo

Thicken

test

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.

Preview

Thicken Preview

Install

Add this line to your pubspec.yaml.

dependencies:
  thicken: ^1.1.2

Usage

First, 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,
  ),
);

Documentation

Thicken

PropertyPurpose
pixelRatioThe sharpness quality of the stroke.
thicknessThe amount of thickness applied. (It is not recommended to set thickness greater than 1.0)
childThe child widget that will be thickened as multiple layers.

Example