ns_utils 1.1.2 copy "ns_utils: ^1.1.2" to clipboard
ns_utils: ^1.1.2 copied to clipboard

ns_utils is a powerful Flutter utility library that simplifies and enhances your Flutter app development experience. It provides a collection of methods and extensions to streamline your code, making [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ns_utils

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  ns_utils: ^1.1.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:ns_utils/constants.dart';
import 'package:ns_utils/data_type/stackx.dart';
import 'package:ns_utils/extensions/context.dart';
import 'package:ns_utils/extensions/date_time.dart';
import 'package:ns_utils/extensions/double.dart';
import 'package:ns_utils/extensions/duration.dart';
import 'package:ns_utils/extensions/functions.dart';
import 'package:ns_utils/extensions/int.dart';
import 'package:ns_utils/extensions/list.dart';
import 'package:ns_utils/extensions/map.dart';
import 'package:ns_utils/extensions/string.dart';
import 'package:ns_utils/extensions/widgets/gesture_detector.dart';
import 'package:ns_utils/extensions/widgets/widgets.dart';
import 'package:ns_utils/methods/conversion.dart';
import 'package:ns_utils/methods/helper.dart';
import 'package:ns_utils/page_route/tansparent_route.dart';
import 'package:ns_utils/services/device_service/device_service.dart';
import 'package:ns_utils/services/shared_preferences/sp_service.dart';
import 'package:ns_utils/services/statusbar_service/statusbar_service.dart';
import 'package:ns_utils/utils/focus_detector.dart';
import 'package:ns_utils/utils/sizes.dart';
import 'package:ns_utils/utils/validators.dart';
import 'package:ns_utils/widgets/custom_error_widget.dart';
import 'package:ns_utils/widgets/spacers.dart';
19
likes
130
points
89
downloads

Publisher

verified publisherdart.nonstopio.com

Weekly Downloads

ns_utils is a powerful Flutter utility library that simplifies and enhances your Flutter app development experience. It provides a collection of methods and extensions to streamline your code, making it more readable and efficient. Whether you need responsive design, date and time handling, map operations, string manipulation, or widget customization, ns_utils has got you covered.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

after_layout, cached_network_image, device_info_plus, flutter, flutter_screenutil, flutter_spinkit, intl, objectid, package_info_plus, recase, shared_preferences, visibility_detector

More

Packages that depend on ns_utils