lean_extensions 1.6.0 copy "lean_extensions: ^1.6.0" to clipboard
lean_extensions: ^1.6.0 copied to clipboard

A collection of extension methods without flutter dependency. Also includes some python-like functionality and json converters for easy validation

1.6.0 #

  • Added top-level getter isDebugMode

1.5.0 #

  • Added extensions on Random:
    .nextBigInt()
    .nextBigIntBetween()
    .nextIntBetween()

  • Added extensions on BigInt:
    .toIntOrThrow() - this avoids clamping a number; it's up to the user to check if int is valid

1.4.0 #

  • Added extensions on String:
    .trimPattern()
    .trimPatternLeft()
    .trimPatternRight()
    .trimInvisible()
    .replaceLast()

  • Added extension on Iterable<T>:
    .reversed

1.3.1 #

  • Lowered constraints on any_date dependency

1.3.0 #

  • Created EasyComparable, SpecificComparable and StrictComparable to facilitate aligning > and < operators with Comparable interface

1.2.0 #

  • Expose string constants as static class and as top-level values, e.g., base62chars and base64chars

1.1.0 #

  • Bump dependency with analysis error on lower constraints

1.0.0 #

  • Stable release
  • Removed static configuration
  • Updated dependencies

0.14.3 #

  • Added normalizeLineBreaks() method on String to replace all windows (CRLF) and old macos (CR) breaks with normal LF
  • Ensure replaceLineBreaks() works with old macos line breaks (CR)

0.14.2 #

  • Added replaceLineBreaks() method on String

0.14.1 #

  • Created 'truthy' / 'falsy' features: extensions on Object? and AnyBoolConverter + AnyNullableBoolConverter

0.14.0 #

  • Use Cardinal feature to convert text to int and BigInt

0.13.1 #

  • Fix caret syntax on dependencies

0.13.0 #

  • Started adding extensions to Map

0.12.1 #

  • Fix: ensure fromRadixString() doesn't accept invalid digits

0.12.0 #

  • Added String <-> BigInt converter extensions with support for radix up to 64

0.11.2 #

  • Fix: ensure fromRadixString() is case insensitive when radix is <= 32

0.11.1 #

  • Fix: allow changing characters to be used by Random() extensions more than once
  • Added homeage to pubspec

0.11.0 #

  • Allow setting characters to be used by Random() extensions
  • Added int.toRadixExtended() extension to allow up to base 64 numeral system

0.10.1 #

  • Bump dependency to include a required fix for AnyDateConverter

0.10.0 #

  • Add toSentenceCase() and toTitleCase() extensions

0.9.1 #

  • Update readme and improve score by providing example

0.9.0 #

  • Created eval() function, just for fun; does not serve any real purpose and should not be used 😅

0.8.0 #

  • Add toArray() separatedList() and wrappedList() on Iterable
  • Add AnyUriConverter and AnyUriOrNullConverter to converters library
  • Add sleep() to dart_essentials library

0.7.0 #

  • Add isNullOrEmpty on String?

0.6.0 #

  • Add separated() and wrapped() on Iterable

0.5.0 #

  • Add dart_essentials library
    • includes Range class and range() function for loops similar to python
  • Add a few more extensions on num

0.4.0 #

  • Add nextChar() and nextString() on Random

0.3.0 #

  • Add AnyNumConverter and AnyNullableNumConverter

0.2.0 #

  • Exports extensions from collection package
  • Add shiftLeft() and shiftRight() on Iterable. Not in place, it returns new object
  • Renamed json converters

0.1.1 #

  • Fix date only format
  • Adds orEmpty on Iterable?

0.1.0 #

  • Initial version
  • Basic extensions on dart primitives
1
likes
160
points
147
downloads

Publisher

verified publisherel-darto.net

Weekly Downloads

A collection of extension methods without flutter dependency. Also includes some python-like functionality and json converters for easy validation

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

any_date, collection, english_numerals, json_annotation, meta

More

Packages that depend on lean_extensions