screwdriver
5.12.0, released 9 months ago by birju.dev
Provides useful extensions and helper functions for Dart types to speed up development.
What it does
Adds extension methods, helper functions, and classes to common Dart types like String, Int, Map, DateTime, Future, and IO classes. It includes utilities for parsing, scoping, and collection manipulation.
AI-written summary of version 5.12.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want shortcut extension methods on primitive types and collections
- You need convenient scope functions like apply and run
- You want helper methods for handling files, directories, and futures
Skip it when
- You prefer keeping your core types clean without extension clutter
- You only need specific utilities that can be imported from smaller focused packages
Strengths
- Comprehensive collection of over 300 extensions and helpers
- Well-tested and production-ready
- Includes bundled collection and IO extensions
Weaknesses
- Large extension scope might pollute autocompletion suggestions
- Contains breaking changes across minor versions
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 7
import 'package:screwdriver/screwdriver.dart';
'hello'.capitalized; // Hello
' '.isBlank; // true
'45'.toIntOrNull(); // 45
20.isDivisibleBy(5); // trueAlternatives
Packages that do the same job and could replace screwdriver.
- flutter_essentials_kit
A kit of useful functions and widgets to speed up development.
65Compare - extension_discovery
Convention and utilities for discovering package extensions via config.yaml files.
86Compare - black_hole_flutter
Flutter utility functions, extension methods, and custom widgets.
83Compare - gtk
GTK utilities for Flutter Linux applications, providing settings and application lifecycle helpers.
76Compare
Works with
Packages commonly used together with screwdriver: ones it builds on, ones built on it, and its own family.
- webscrewdriver depends on itLightweight bindings for browser APIs via JS interop
- intlscrewdriver depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- charactersscrewdriver depends on itUnicode and grapheme cluster aware string manipulation operations for Dart.
- universal_ioscrewdriver depends on itCross-platform dart:io implementation with browser support for HttpClient and other APIs