custom_widgets_2 0.0.2
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.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add custom_widgets_2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
custom_widgets_2: ^0.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:custom_widgets_2/custom_widgets.dart';
import 'package:custom_widgets_2/error/exception.dart';
import 'package:custom_widgets_2/error/failure.dart';
import 'package:custom_widgets_2/handeler/validator.dart';
import 'package:custom_widgets_2/widgets/container_shadow.dart';
import 'package:custom_widgets_2/widgets/custom_cache_network.dart';
import 'package:custom_widgets_2/widgets/custom_divider.dart';
import 'package:custom_widgets_2/widgets/custom_drop_down_button.dart';
import 'package:custom_widgets_2/widgets/custom_elevated_button.dart';
import 'package:custom_widgets_2/widgets/custom_stepper.dart';
import 'package:custom_widgets_2/widgets/custom_text.dart';
import 'package:custom_widgets_2/widgets/custom_text_form_field.dart';
import 'package:custom_widgets_2/widgets/extension.dart';
import 'package:custom_widgets_2/widgets/pic_image.dart';