Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fluttertoast
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyanzhi
fluttertoast
Commits
59d5c1b9
Commit
59d5c1b9
authored
Mar 21, 2020
by
Karthik Ponnam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated readme with default values
parent
a8cd67a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
README.md
+12
-12
No files found.
README.md
View file @
59d5c1b9
...
...
@@ -33,18 +33,18 @@ Fluttertoast.showToast(
);
```
| property | description |
| --------------- | ------------------------------------------------------------------ |
| msg | String (Not Null)(required) |
| toastLength | Toast.LENGTH_SHORT or Toast.LENGTH_LONG (optional) |
| gravity | ToastGravity.TOP (or) ToastGravity.CENTER (or) ToastGravity.BOTTOM (Web Only supports top, bottom) |
| timeInSecForIosWeb | int (only for ios) |
| bgcolor | Colors.red |
| textcolor | Colors.white |
| fontSize | 16.0 (float) |
| webShowClose | false (bool) |
| webBgColor | String (hex Color)
Default(linear-gradient(to right, #00b09b, #96c93d)
) |
| webPosition | String (
`left`
,
`center`
or
`right`
) |
| 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 (only for ios) |
1 |
| bgcolor | Colors.red |
Colors.black |
| textcolor | Colors.white |
Colors.white |
| fontSize | 16.0 (float) |
16.0 |
| 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment