{"repo":"ponnamkarthik/FlutterToast","free":true,"listed":false,"github":"https://github.com/ponnamkarthik/FlutterToast","clone":"git clone https://github.com/ponnamkarthik/FlutterToast.git","description":"Toast Plugin for Flutter","language":"Objective-C","stars":1530,"topics":["flutter","flutter-plugin","flutter-package","toast","android","ios","fluttertoast","web","desktop","custom-toast"],"license":"MIT","category":"mobile-apps","readme_excerpt":"fluttertoast Toast Library for Flutter Now this toast library supports two kinds of toast messages one which requires BuildContext other with No BuildContext Toast with no context Supported Platforms - Android - IOS - Web (Uses Toastify-JS) This one has limited features and no control over UI Toast Which requires BuildContext Supported Platforms - ALL 1. Full Control of the Toast 2. Toasts will be queued 3. Remove a toast 4. Clear the queue How to Use Toast with No Build Context (Android & iOS) property description default ------------------ -------------------------------------------------------------------------------------------------- ------------------------------------------- msg String (Not Null)(required) required toastLength Toast.LENGTH SHORT or Toast.LENGTH LONG (optional) Toast.LENGTH SHORT gravity ToastGravity.TOP (or) ToastGravity.CENTER (or) ToastGravity.BOTTOM (Web Only supports top, bottom) ToastGravity.BOTTOM timeInSecForIosWeb int (for ios & web) 1 (sec) backgroundColor Colors.red null textcolor Colors.white null fontSize 16.0 (float) null fontAsset Path to a font file in the Flutter app assets folder, e.g. 'assets/path/to/some-font.ttf' (String) null webShowClose false (bool) false webBgColor String (hex Color) linear-gradient(to right, #00b09b, #96c93d) webPosition String ( left , center or right ) right To cancel all the toasts call Note Android Custom Toast will not work on android 11 and above, it will only use msg and toastLength remaining all propert","default_branch":null,"files":null,"tree":[],"storefront":"/r/ponnamkarthik","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ponnamkarthik/FlutterToast/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}