mongol 9.0.0
mongol: ^9.0.0 copied to clipboard
Flutter widget package for displaying and editing vertical Mongolian text.
9.0.0 2025.02.13 #
- Updated for Flutter 3.29 (@sadespresso)
- Migrated some properties (@sadespresso)
- Fixed type issue that was preventing runs/builds on Flutter 3.29.0 (@sadespresso)
8.0.0 2024.05.13 #
- Update widgets for Material 3 (#50) (@Satsrag)
- New tonal buttons (@Satsrag)
- New
MongolFilledButtonwidget (@Satsrag) - New
MongolCheckboxListTilewidget (@Satsrag) - New
MongolRadioListTilewidget (@Satsrag) - New
MongolSwitchListTilewidget (@Satsrag) - New
MongolCheckedPopupMenuItem(@Satsrag) - Update for breaking change in Flutter 3.22
7.0.0 2023.12.27 #
- Update APIs to match the Flutter 3.16 release. (#47) (with lots of help from @Satsrag)
- It's unclear if this would be a breaking change for those still using a lower version of Flutter, but making a major version bump just in case.
- Added
TextHeightBasis(similar toTextWidthBasisforText) at the lower levels (ex,MongolTextPainter) but not all the way up toMongolText. This affects whether the widget height is the height of theparentwhen line wrapping or the height of thelongestLine. The default right now isparent. See #49 for progress. - One known issue is emojis and CJK characters are not correctly horizontally centered in some circumstances. (#48)
6.0.1 2023.08.22 #
- Fix images not displaying in pub.dev documentation.
6.0.0 2023.08.22 #
- Fixes for breaking changes in Flutter 2.13, mostly related to the text selection API.
5.0.0 2023.05.15 #
- Update APIs to match the Flutter 3.10 and Dart 3.0 release. (#45) (@Satsrag)
- This is a major version bump because of the breaking changes in the Flutter update and the new requirement to use Dart 3.0.
- The known issues in the version 4.0.0 changelog notes still exist.
4.0.0 2023.02.10 #
- Update APIs to match the Flutter 3.7 release. Theoretically this may have added some improvements, but the main reason was that Flutter 3.7 broke the old package. This is a major version bump because some of the API changes were potentially breaking for users of
mongol3.4.0. (#38) - There are some known issues related to the input decorator for
MongolTextField(#29, #30, #32, #39, #40, #41). Help requested to fix these. This release exportsMongolEditableTextif anyone needs a more low-level option. - The
MongolTextAPI appears to be unaffected by this update, but keep an eye on performance for large text strings.MongolTextPainterandMongolParagraphhave a newdisposemethod and it is unclear how this may affect performance/memory for better or worse.
3.4.0 2023.01.05 #
- Remove
DefaultMongolTextEditingShortcutsfromMongolEditableTextState(#35) (@Satsrag) - To switch the behavior of left/right and up/down keys in
MongolEditableText, developers now need to addMongolTextEditingShortcutsat the top of the widget tree. See #33 for discussion.
3.3.1 2022.12.31 #
- Fix: crash when MongolTextField contain a line end with ' \n' (#34) (@Satsrag)
3.3.0 2022.11.29 #
- Fix label problems on outlined input border with
MongolOutlineInputBorder(#28). - Export
TextAlignHorizontalforMongolTextField.
3.2.0 2022.10.22 #
- Updating internal code to remove compiler warnings. Required minimum of Flutter 2.17.
- Added example app demo for
MongolTextFieldto show options for input decorations. - Export
MongolRenderEditableto get cursor location (#31).
3.1.0 2022.09.13 #
- Added
MongolTextFieldback in with fixes. (@Satsrag)
3.0.2 2022.02.10 #
- Fix for bug caused by Flutter 2.10 upgrade (#20) (@azhansy)
3.0.1 2022.01.10 #
- Exported
MongolTextPainterso that it is public now.
3.0.0 2021.12.18 #
- Removed
MongolTextFieldand related classes from the library. The Flutter 2.8 update broke the editing widgets again. Even if we fixed this break, there was still the major issue of crashing when scrollingMongolTextField. It is easier to removeMongolTextFieldnow and start over from scratch, either with the Flutter text editing widgets or with something like SuperEditor.
2.2.2 2021.11.7 #
- Attempted to fix the issue with
MongolTextFieldcrashing when text content needs to scroll. However, since the issue is still not fixed, there is a deprecation warning on this class. Hopefully the error can be fixed with a future update or a replacement can be found, but currently there is nothing.
2.2.1 2021.9.20 #
- Fix the errors caused by the Flutter 2.5 update.
- Removed lots of tests (unfortunately) because the Flutter 2.5 update broke something internally with the custom Flutter testing implementation for the Mongol widgets.
- Fixed the buttons.
- Known issue: MongolTextField still crashes when text content needs to scroll.
2.2.0 2021.8.2 #
- Added buttons:
MongolTextButton,MongolOutlineButton, andMongolElevatedButton
2.1.0 2021.7.30 #
- Added
MongolPopupMenuButtonalong with itsMongolPopupMenuEntry,MongolPopupMenuDivider,MongolPopupMenuItem,showMongolMenu - Added
MongolTooltip(andMongolIconButtonthat needs it) so thatMongolPopupMenuButtonwill have a vertical text tooltip. - Added
MongolListTileso that it can be used as aMongolPopupMenuItemor in a horizontal ListView. - Added supporting (though incomplete) tests for
MongolPopupMenuButtonandMongolListTile. - Switched to flutter_lints for the demo project.
2.0.2 2021.7.15 #
- Fixed
MongolTextFieldtap selection not working on iOS (#12) - Switched to flutter_lints instead of pedantic
2.0.1 2021.6.10 #
- Fixed bug for range error when selecting past end of text in
MongolTextField - Fixed
MongolTextAlignregression (#6)
2.0.0 2021.5.28 #
- Flutter 2.2 broke some of the internal workings of this package. This update fixes those.
- This update increases the major version to 2 because an automatic update for projects still on Flutter 2.0 would probably break things.
- There are no significant new features with this release, but there are numerous internal changes to match changes made to the Flutter text editing widgets.
- There are several known issues with this release. Please open a GitHub issue if they are affecting your app.
1.1.0 2021.3.13 #
- Implemented MongolTextAlign (supports top, center, bottom, justify)
- Known issue: Spaces after words are included in the measurements so MongolTextAlign.bottom aligns the space to the bottom and not the text itself.
1.0.0 2021.3.6 #
- Null safe
- Added
MongolTextFieldand supporting classes - Since
MongolTextFieldfills in the largest missing gap for Mongolian text rendering, this library will now be marked as 1.0.0. This signifies feature completeness though there are some known bugs and it would be good for another version to include some keyboards. - Filled in missing functionality in
MongolParagraphandMongolTextPainter.
0.8.0-nullsafety.0 2020.11.27 #
- Migrated to sound null safety
0.7.1 2020.10.26 #
- Lowered the minimum version number requirement for the
metadependency.
0.7.0 2020.10.24 #
- Support for rotating emoji and CJK characters.
0.6.1 2020.10.10 #
- Added static analysis options.
- Fixed warnings and errors from the static analysis.
- Implemented
MongolTextPainter.getPositionForOffsetwith tests - Close MongolDialog on button click in demo app
0.6.0 2020.10.2 #
- Added
MongolRichTextwith support forTextSpanand its substring text styles. - Added
MongolText.richconstructor to support using a default font theme. - Implemented
textScaleFactor. It existed before but didn't do anything. - Removed the default Menksoft font that was included with the library. This creates a bit more setup but makes the library smaller and allows developers to use any Mongolian font. Also removed MongolFont class.
- Added documentation modified from the standard Flutter docs.
- Changed the license to be in alignment with the Flutter BSD-3 license.
- Updated the demos to include a keyboard and vertical
TextField. These are not in the library yet, but should be fairly easy to reproduce by studying the demos. - Added more tests.
0.5.0 2020.5.31 #
- Added hit testing to
MongolTextand its associated classes so that aGestureDetectorcan be applied to it. - Added the
textScaleFactorparameter toMongolText. - Added
debugFillProperties()to variousMongolTextrelated classes.
0.4.1 2020.2.21 #
- Change unsupported 2018 text theme items to 2014 version in
MongolAlertDialog
0.4.0 2020.2.19 #
- Added
MongolAlertDialog.
0.3.2 2020.1.28 #
- Fixed bug: Spaces after a newline character caused newline char to be inserted in
ParagraphBuilder.
0.3.1 2020.1.5 #
- Minor changes. Was going to include
mongol_codeas a part of this package but released it as a separate Dart package instead.
0.3.0 2019.11.29 #
- Added a default Mongolian font.
- Hiding
MongolRichTextfor now since TextSpans are not yet supported.
0.2.0 2019.11.26 #
- Added support for new line characters.
0.1.0 2019.11.24 #
- Refactored into
MongolTextandMongolRichTextwidgets to more closely matchTextandRichText.
0.0.1 2019.7.23 #
- Provides a
MongolTextwidget that handles line wrapping at spaces. - Doesn't handle new lines or styling.
