Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
61611d47
Commit
61611d47
authored
Feb 26, 2016
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tooltips to FloatingActionButtons
Fixes #1875
parent
29e55735
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
+4
-0
buttons_demo.dart
examples/material_gallery/lib/demo/buttons_demo.dart
+1
-0
tabs_fab_demo.dart
examples/material_gallery/lib/demo/tabs_fab_demo.dart
+1
-0
stock_home.dart
examples/stocks/lib/stock_home.dart
+1
-0
http_post.dart
examples/widgets/http_post.dart
+1
-0
No files found.
examples/material_gallery/lib/demo/buttons_demo.dart
View file @
61611d47
...
...
@@ -77,6 +77,7 @@ class _ButtonsDemoState extends State<ButtonsDemo> {
height:
128.0
,
child:
new
Center
(
child:
new
FloatingActionButton
(
tooltip:
'Open FAB demos'
,
child:
new
Icon
(
icon:
'content/add'
),
onPressed:
()
{
Navigator
.
push
(
context
,
new
MaterialPageRoute
(
...
...
examples/material_gallery/lib/demo/tabs_fab_demo.dart
View file @
61611d47
...
...
@@ -102,6 +102,7 @@ class _TabsFabDemoState extends State<TabsFabDemo> {
),
floatingActionButton:
!
selectedPage
.
fabDefined
?
null
:
new
FloatingActionButton
(
key:
selectedPage
.
fabKey
,
tooltip:
'Show explanation'
,
backgroundColor:
selectedPage
.
fabColor
,
child:
selectedPage
.
fabIcon
,
onPressed:
_showExplanatoryText
...
...
examples/stocks/lib/stock_home.dart
View file @
61611d47
...
...
@@ -272,6 +272,7 @@ class StockHomeState extends State<StockHome> {
Widget
buildFloatingActionButton
()
{
return
new
FloatingActionButton
(
tooltip:
'Create company'
,
child:
new
Icon
(
icon:
'content/add'
),
backgroundColor:
Colors
.
redAccent
[
200
],
onPressed:
_handleCreateCompany
...
...
examples/widgets/http_post.dart
View file @
61611d47
...
...
@@ -62,6 +62,7 @@ class PostDemoState extends State<PostDemo> {
)
),
floatingActionButton:
new
FloatingActionButton
(
tooltip:
'Refresh'
,
child:
new
Icon
(
icon:
'navigation/refresh'
),
...
...
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