Sofiui_dev
Sofiui_dev is a modern and customizable Flutter package designed for creating Sofiui_dev UI components such as containers, buttons, grids, and lists with ease.
Features
- Sofiui_dev containers with shadow effects.
- Sofiui_dev buttons and icon buttons.
- Support for grid views and list views with Sofiui_dev styling.
- Highly customizable components for diverse design requirements .
|
|
|
|
|
|
|
Installation
Add the package to your pubspec.yaml file:
dependencies:
softui_dev: ^1.0.0
Then, run:
flutter pub get
Usage
- Import the package
import 'package:softui_dev/soft_ui.dart';
Examples
SoftuiContainer
SoftuiContainer(
height: 100,
width: 100,
child: Center(
child: Text("Hello"),
),
);
SoftuiButton
SoftuiButton(
onPressed: () => print("Button Pressed"),
child: Text("Click Me"),
);
SoftuiIconButton
SoftuiIconButton(
icon: Icons.favorite,
onPressed: () => print("Icon Button Pressed"),
);
SoftuiGridView
SoftuiGridView(
crossAxisCount: 2,
itemCount: 4,
itemBuilder: (context, index) {
return SoftuiContainer(
child: Center(
child: Text("Item $index"),
),
);
},
);
SoftuiListView
SoftuiListView(
itemCount: 10,
itemBuilder: (context, index) {
return SoftuiContainer(
child: ListTile(
title: Text("List Item $index"),
),
);
},
);
Customization
- All components are highly customizable with parameters for color, shadows, border radius, padding, and margins.
License
- This package is licensed under the MIT License.
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 Sumit