Skip to content

Commit

Permalink
release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonataslaw committed Mar 27, 2024
1 parent d1a88f3 commit a341ea5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 35 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,37 @@
## [3.0.0]

Contributed by [@maRci002](https://github.com/maRci002) - see PR [#54](https://github.com/jonataslaw/readmore/pull/54).

**Breaking Changes**:

- Upgraded to **Dart 3.0.0**
- **`textScaleFactor`** replaced with **`textScaler`**
- Removed **`callback`** in favor of the **`isCollapsed`** controller

**Features**:
- Introduced **`Annotation`** functionality for custom styling and interactions with text patterns like hashtags, URLs, and mentions, enhancing text interactivity and usability

- Introduced **`Annotation`** functionality for custom styling and interactions with text patterns like hashtags, URLs, and mentions, enhancing text interactivity and usability.

- This version also has minor contributions from the following users: (@zeeshanhussain), (@sm2017), (@andreaselia), (@amereii), (@govindmaheshwari2),(@olisaemekaejiofor), (@epynic), (@webdastur), (@Siqlain-Hanif), (@unger1984),

## [2.2.0]

- Update to Flutter 3.

## [2.1.0]

- add RTL support

## [2.0.0]

- nullsafety

## [1.0.1]

- Remove debug statements
- Add delimiter span && style for trimExpandedText & trimCollapsedText
- Fix linkSize on ListView

## [1.0.0]

- initial release
66 changes: 32 additions & 34 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,49 +1,47 @@
name: readmore
description: A Flutter package than allow expand and collapse text dynamically
version: 2.2.0
description: A Flutter package that allows for dynamic expansion and collapse of text, as well as interactions with text patterns such as hashtags, URLs, and mentions.
version: 3.0.0
homepage: https://github.com/jonataslaw/loadmore

environment:
sdk: '>=3.0.0 <4.0.0'
sdk: ">=3.0.0 <4.0.0"

dependencies:
flutter:
sdk: flutter


# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
# flutter:

# To add assets to your package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# To add assets to your package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.

# To add custom fonts to your package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages
# To add custom fonts to your package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages

0 comments on commit a341ea5

Please sign in to comment.