Skip to content
pubscout

screwdriver

5.12.0, released 9 months ago by birju.dev

Provides useful extensions and helper functions for Dart types to speed up development.

WASM-ready
$ flutter pub add screwdriver
Source repository

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); // true

Alternatives

Packages that do the same job and could replace screwdriver.

Works with

Packages commonly used together with screwdriver: ones it builds on, ones built on it, and its own family.