flutter_toastify 2.0.5
flutter_toastify: ^2.0.5 copied to clipboard
Customizable animated toast notifications for Flutter with success, error, info and custom styles, progress indicator and action support.
2.0.5 #
- DOCS: The "Other packages" list in the README now covers all 11 other packages of the publisher, with English and Turkish descriptions. / README'deki "Diğer paketler" listesi yayıncının diğer 11 paketini İngilizce ve Türkçe açıklamalarla kapsıyor.
2.0.4 #
- DOCS: README has screenshots, a feature list and links to the publisher's other packages. / README'ye ekran görüntüleri, özellik listesi ve yayıncının diğer paketlerine bağlantılar eklendi.
- Added
screenshotsto the pubspec for pub.dev. / pub.dev için pubspec'escreenshotseklendi. - The built-in style icons were downscaled from 512x512 to 128x128 (90 KB to 18 KB in total) with no visible change at normal sizes. / Hazır stil ikonları 512x512'den 128x128'e küçültüldü (toplam 90 KB'tan 18 KB'a); normal boyutlarda görünüm değişmedi.
- No API or behavior changes. / API ve davranış değişikliği yok.
2.0.3 #
- DOCS: API documentation is now in English first, followed by Turkish. / API belgeleri artık önce İngilizce, ardından Türkçe.
- DOCS: The changelog is bilingual. / Değişiklik günlüğü iki dilli oldu.
- EXAMPLE: The example app supports English and Turkish, follows the device language and has a language picker. / Örnek uygulama İngilizce ve Türkçe destekliyor, cihaz dilini izliyor ve dil seçicisi var.
- No code changes in the package. / Paket kodunda değişiklik yok.
2.0.2 #
- FIX: Without a
height, multi-line content (e.g. title + description +action) touched the top and bottom edges; the text now has 12 px vertical padding. Layout with a fixedheightis unchanged. /heightverilmediğinde çok satırlı içerik kenarlara yapışıyordu; metne 12 px dikey boşluk eklendi. Sabitheightile yerleşim değişmedi.
2.0.1 #
- FIX:
show()crashed with "No MaterialLocalizations found" on iOS/macOS in apps without Material localizations, such asCupertinoApp. The notification no longer usesAlertDialog, is not affected by the app'sDialogThemeand is announced as a live region instead of a dialog. /CupertinoAppgibi uygulamalarda iOS/macOS'tashow()çöküyordu. Bildirim artıkAlertDialogkullanmıyor,DialogTheme'den etkilenmiyor ve ekran okuyucuya diyalog olarak bildirilmiyor. - FIX: If the overlay was destroyed before the notification (e.g. the app tree changed),
isShowingstayedtrueand the same notification could not be shown again. / Overlay bildirimden önce yok edilirseisShowingtruekalıyor, bildirim bir daha gösterilemiyordu. - FIX: The default close button is at least 48x48 and has a screen reader label. / Varsayılan kapatma düğmesi en az 48x48 ve ekran okuyucu etiketli.
- FIX: The progress bar moves linearly with time (it used to slow down at both ends). / İlerleme çubuğu süreyle doğrusal ilerliyor.
onCloseButtonPressed,onProgressFinished,onActionPressedandonDismissare nowVoidCallback?. / Bu geri çağrıların tipiVoidCallback?oldu.- Added
AppConstants.infoColor; the misspelledinforColorand the unusedAnimatedProgressBar.valueare deprecated. /infoColoreklendi;inforColorveAnimatedProgressBar.valuekullanımdan kalktı.
2.0.0 #
Breaking changes / Kırıcı değişiklikler
- Requires Dart 3.6 / Flutter 3.27. / Dart 3.6 / Flutter 3.27 gerekir.
FlutterToastifyis now immutable:icon,background,shadowColor,radius,enableShadow,showProgressIndicator,progressIndicatorColorandnotificationTypearefinal, andoverlayEntryis read-only. /FlutterToastifyartık değişmez; bu alanlarfinal,overlayEntrysalt okunur.FlutterToastifyState.closeTimeris nowTimer?(nullwhenautoDismissis false). /closeTimerartıkTimer?.
Fixes / Düzeltmeler
- Calling
show()twice on the same instance leaked the previousOverlayEntry; the second call is now ignored and removed entries are disposed. / Aynı örnekte iki kezshow()çağrılıncaOverlayEntrysızıyordu. closeOverlay()threw aftershow()when there was noOverlay. /OverlayyokkencloseOverlay()hata veriyordu.- The close button removed the notification without the slide out animation, and a double tap fired the callbacks twice. / Kapatma düğmesi animasyonsuz kapatıyor, çift dokunuş geri çağrıları iki kez tetikliyordu.
- Long descriptions overflowed when no
heightwas given; the height is now at least 12% of the screen and grows with the content. /heightverilmediğinde uzun metin taşıyordu. - A custom notification without
iconcrashed with a null error. /iconverilmeyen özel bildirim çöküyordu. - Replaced the deprecated
Color.withOpacitywithwithValues. / Kullanımdan kalkmışwithOpacityyerinewithValueskullanıldı.
New / Yenilikler
NotificationPosition,AnimationTypeandNotificationTypeare exported frompackage:flutter_toastify/flutter_toastify.dart. / Enum'lar ana kütüphaneden dışa aktarılıyor.- Added the
isShowinggetter. /isShowingeklendi. - Renamed
widget/flutter_toastify_conten.darttoflutter_toastify_content.dart; the old path is deprecated but still works. / Dosya adındaki yazım hatası düzeltildi, eski yol çalışıyor. - Removed platform folders accidentally added to the package root, recreated the example app and added tests. / Kökteki gereksiz platform klasörleri kaldırıldı, örnek yenilendi, testler eklendi.
1.0.4 #
- FIX: Minor bug fixes. / Bazı basit hata düzeltmeleri.
1.0.3 #
- FIX: Minor bug fixes. / Bazı basit hata düzeltmeleri.
1.0.2 #
- FIX: Bug fixes. / Bazı hata düzeltmeleri.
1.0.1 #
- FIX: Performance improvements. / Performans iyileştirmeleri.
1.0.0 #
- NEW: New features. / Yeni özellikler.
0.0.3 #
- FIX: Bug fixes. / Bazı hata düzeltmeleri.
0.0.2 #
- FIX: Fixes. / Düzeltmeler.
0.0.1 #
- Initial release. / İlk sürüm.
