custom_widgets_2 0.0.2 copy "custom_widgets_2: ^0.0.2" to clipboard
custom_widgets_2: ^0.0.2 copied to clipboard

This package contains some widgets that are indispensable in any project and are intended for ease of handling.

custom_widgets_2 #

pub package

This package contains a collection of custom widgets that are indispensable in any Flutter project. These widgets are designed to provide ease of handling and enhance the user experience.

Widgets Included #

  • CustomElevatedButton: A customizable button widget with various styling options.
  • CustomTextField: A custom text field widget with additional features such as validation and input formatting.
  • CustomText: A custom Text widget with text.
  • CustomDropDownButton: A custom drop down button widget for multi drop down items.
  • CustomSteper: A custom steper widget for steps.
  • CustomCachNetwork: A custom cach network widget for display network imge.
  • CustomDivider: A custom divider widget for display divider.
  • ContainerSadow: A container shadow widget for display container with shadow.
  • sh: A sh widget for sized box with height.
  • sw: A sw widget for sized box with width.

Installation #

Add the following line to your pubspec.yaml file:

dependencies:
  custom_widgets_2: <last version>

Replace last version with the latest version of the package available on pub.dev.

Run the following command to install the package:

flutter pub get

Usage #

Import the package in your Dart code:

import 'package:custom_widgets_2/custom_widgets_2.dart';

Now, you can use the custom widgets in your Flutter app. Here's an example of how to use the CustomElevatedButton widget:

CustomElevatedButton(
  onPressed: () {
    // Add your button click logic here
  },
  child: CustomText(text:"click me"),
  color: Colors.blue,
),

Refer to the documentation of each widget for detailed usage instructions and customization options.

Contributing #

Contributions to this package are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on GitHub.

License #

This package is licensed under the GNU GENERAL PUBLIC LICENSE.

2
likes
130
points
112
downloads

Publisher

unverified uploader

Weekly Downloads

This package contains some widgets that are indispensable in any project and are intended for ease of handling.

Repository (GitHub)

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

cached_network_image, flutter, flutter_svg, image_picker

More

Packages that depend on custom_widgets_2