Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 2.03 KB

README.md

File metadata and controls

59 lines (42 loc) · 2.03 KB

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

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.

Example