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
563afe38
Unverified
Commit
563afe38
authored
Jul 16, 2020
by
Hans Muller
Committed by
GitHub
Jul 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated obsolte button references in Scaffold, IconButton (#61578)
parent
d90a2464
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
icon_button.dart
packages/flutter/lib/src/material/icon_button.dart
+1
-1
scaffold.dart
packages/flutter/lib/src/material/scaffold.dart
+1
-1
No files found.
packages/flutter/lib/src/material/icon_button.dart
View file @
563afe38
...
...
@@ -124,7 +124,7 @@ const double _kMinButtonSize = kMinInteractiveDimension;
/// current platform's conventions.
/// * [CloseButton], an icon button for closing pages.
/// * [AppBar], to show a toolbar at the top of an application.
/// * [
RaisedButton] and [FlatButton], for buttons with text in them
.
/// * [
TextButton], [ElevatedButton], [OutlinedButton], for buttons with text labels and an optional icon
.
/// * [InkResponse] and [InkWell], for the ink splash effect itself.
class
IconButton
extends
StatelessWidget
{
/// Creates an icon button.
...
...
packages/flutter/lib/src/material/scaffold.dart
View file @
563afe38
...
...
@@ -1681,7 +1681,7 @@ class ScaffoldState extends State<Scaffold> with TickerProviderStateMixin {
///
/// ```dart
/// Widget build(BuildContext context) {
/// return OutlineButton(
/// return Outline
d
Button(
/// onPressed: () {
/// Scaffold.of(context).showSnackBar(
/// SnackBar(
...
...
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