flutter_neumorphism_ultra 0.0.1
flutter_neumorphism_ultra: ^0.0.1 copied to clipboard
Flutter Neumorphism Ultra is a modern and customizable Flutter package designed for creating neumorphic UI components such as containers, buttons, grids, and lists with ease.
Flutter Neumorphism Ultra #
Flutter Neumorphism Ultra is a modern and customizable Flutter package designed for creating neumorphic UI components such as containers, buttons, grids, and lists with ease.
Features #
- Neumorphic containers with shadow effects.
- Neumorphic buttons and icon buttons.
- Support for grid views and list views with neumorphic styling.
- Highly customizable components for diverse design requirements.
Installation #
Add the package to your pubspec.yaml file:
dependencies:
flutter_neumorphism_ultra: ^1.0.0
Then, run: #
flutter pub get
Usage #
- Import the package
import 'package:flutter_neumorphism_ultra/flutter_neumorphism_ultra.dart';
Examples #
NeuContainer #
NeuContainer(
height: 100,
width: 100,
child: Center(
child: Text("Hello"),
),
);
NeuButton #
NeuButton(
onPressed: () => print("Button Pressed"),
child: Text("Click Me"),
);
NeuIconButton #
NeuIconButton(
icon: Icons.favorite,
onPressed: () => print("Icon Button Pressed"),
);
NeuGridView #
NeuGridView(
crossAxisCount: 2,
itemCount: 4,
itemBuilder: (context, index) {
return NeuContainer(
child: Center(
child: Text("Item $index"),
),
);
},
);
NeuListView #
NeuListView(
itemCount: 10,
itemBuilder: (context, index) {
return NeuContainer(
child: ListTile(
title: Text("List Item $index"),
),
);
},
);
Customization #
- All components are highly customizable with parameters for color, shadows, border radius, padding, and margins.
Contributing #
- Contributions are welcome! Feel free to submit issues or create pull requests to improve the package.
License #
- This package is licensed under the MIT License.
Contact #
- For support or inquiries, please email: [email protected]
Example #
See the complete example in the example directory for a full implementation.
Contributing #
Contributions are welcome! Please open an issue or submit a pull request with any improvements or bug fixes.
GitHub #
For more details, visit the GitHub repository
Copyright (c) 2024 Developer Ritesh