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
0f7db054
Unverified
Commit
0f7db054
authored
Dec 11, 2022
by
CodeEagle
Committed by
GitHub
Dec 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat]: add support for custom child inside without padding (#408)
parent
cb7de7ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
lib/fluttertoast.dart
+4
-1
No files found.
lib/fluttertoast.dart
View file @
0f7db054
...
...
@@ -25,7 +25,8 @@ enum ToastGravity {
BOTTOM_RIGHT
,
CENTER_LEFT
,
CENTER_RIGHT
,
SNACKBAR
SNACKBAR
,
NONE
}
/// Plugin to show a toast message on screen
...
...
@@ -245,6 +246,8 @@ class FToast {
left:
0
,
right:
0
,
child:
child
);
case
ToastGravity
.
NONE
:
return
Positioned
.
fill
(
child:
child
);
case
ToastGravity
.
BOTTOM
:
default
:
return
Positioned
(
bottom:
50.0
,
left:
24.0
,
right:
24.0
,
child:
child
);
...
...
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