Last updated:
0 purchases
neumorphic plugin
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
copied to clipboard
Then in *.dart file:
import 'package:neumorphic_plugin/neumorphic_plugin.dart';
copied to clipboard
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,
),
),
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.