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.1

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

Property Purpose
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.

Example

Libraries

thicken
The Thicken widget allows you to thicken a given child widget by creating multiple translated layers of the child. The amount of thickness determines how many layers will be drawn.