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
e82b9f99
Unverified
Commit
e82b9f99
authored
Aug 05, 2020
by
Darren Austin
Committed by
GitHub
Aug 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated examples/layers to use the new button API. (#62932)
Updated examples/layers to use the new button API.
parent
504963b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
isolate.dart
examples/layers/services/isolate.dart
+1
-1
sectors.dart
examples/layers/widgets/sectors.dart
+2
-2
No files found.
examples/layers/services/isolate.dart
View file @
e82b9f99
...
@@ -253,7 +253,7 @@ class IsolateExampleState extends State<StatefulWidget> with SingleTickerProvide
...
@@ -253,7 +253,7 @@ class IsolateExampleState extends State<StatefulWidget> with SingleTickerProvide
),
),
Text
(
_status
),
Text
(
_status
),
Center
(
Center
(
child:
Rais
edButton
(
child:
Elevat
edButton
(
child:
Text
(
_label
),
child:
Text
(
_label
),
onPressed:
_handleButtonPressed
,
onPressed:
_handleButtonPressed
,
),
),
...
...
examples/layers/widgets/sectors.dart
View file @
e82b9f99
...
@@ -96,7 +96,7 @@ class SectorAppState extends State<SectorApp> {
...
@@ -96,7 +96,7 @@ class SectorAppState extends State<SectorApp> {
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
8.0
,
vertical:
25.0
),
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
8.0
,
vertical:
25.0
),
child:
Row
(
child:
Row
(
children:
<
Widget
>[
children:
<
Widget
>[
Rais
edButton
(
Elevat
edButton
(
onPressed:
_enabledAdd
?
addSector
:
null
,
onPressed:
_enabledAdd
?
addSector
:
null
,
child:
IntrinsicWidth
(
child:
IntrinsicWidth
(
child:
Row
(
child:
Row
(
...
@@ -111,7 +111,7 @@ class SectorAppState extends State<SectorApp> {
...
@@ -111,7 +111,7 @@ class SectorAppState extends State<SectorApp> {
),
),
),
),
),
),
Rais
edButton
(
Elevat
edButton
(
onPressed:
_enabledRemove
?
removeSector
:
null
,
onPressed:
_enabledRemove
?
removeSector
:
null
,
child:
IntrinsicWidth
(
child:
IntrinsicWidth
(
child:
Row
(
child:
Row
(
...
...
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