Skip to content

Commit

Permalink
bump version to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro committed Nov 29, 2023
1 parent 4b6417a commit 50c347a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.2.0

- **FEAT**: Add `ordinal`, `roman` and space extensions (thanks to @athishaves)

## 1.1.2

- **BREAKING** Remove the deprecated `textScaleFactor` in favor of `textScaler`.
Expand Down
8 changes: 4 additions & 4 deletions lib/src/num_ext.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ extension IntExt on int {

/// Returns roman number representation of [int] from 1 to 3999
/// ``` dart
/// print(12.toRoman); // XII
/// print(455.toRoman); // CDLV
/// print(1.toRoman); // I
/// print(3999.toRoman); // MMMCMXCIX
/// print(12.roman); // XII
/// print(455.roman); // CDLV
/// print(1.roman); // I
/// print(3999.roman); // MMMCMXCIX
/// ```
String get roman {
if (this < 1 || this > 3999) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: awesome_flutter_extensions
description: >
A Flutter Extension to remove boilerplate when accessing
ancestor context properties
version: 1.1.2
version: 1.2.0
homepage: https://bestofcode.dev
repository: https://github.com/nank1ro/awesome_flutter_extensions

Expand Down

0 comments on commit 50c347a

Please sign in to comment.