neumorphic_plugin 0.0.1 copy "neumorphic_plugin: ^0.0.1" to clipboard
neumorphic_plugin: ^0.0.1 copied to clipboard

A simple implementation for neumorphic UI.

A simple implementation for neumorphic UI for flutter. Feel free to check it out :>

Installation #

In pubspec.yaml add:

dependencies:
  neumorphic_plugin: ^0.0.1

Then in *.dart file:

import 'package:neumorphic_plugin/neumorphic_plugin.dart';

Usage #

To create simeple neumorphic button simpli write this:

NeumorphicButton(
      onTap: () {},
      padding: const EdgeInsets.all(10.0),
      backgroundColor: Colors.grey[800], // should be same as background
      height: 100,
      borderRadius: 10,
      shadowOffsetMultiplier: 5,
      shadowBlurRadius: 5,
      child: const Text(
        'Click me!',
        textAlign: TextAlign.center,
        style: TextStyle(
          color: Colors.white,
          fontSize: 25,
          fontWeight: FontWeight.bold,
        ),
      ),
    )
0
likes
130
pub points
9%
popularity

Publisher

unverified uploader

A simple implementation for neumorphic UI.

Repository (GitHub)
View/report issues

Documentation

API reference

License

ECL-2.0 (license)

Dependencies

flutter, flutter_inset_box_shadow

More

Packages that depend on neumorphic_plugin