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
bb328088
Unverified
Commit
bb328088
authored
Jul 13, 2020
by
Hans Muller
Committed by
GitHub
Jul 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the Scaffold examples; use the new button classes (#61394)
parent
88a78d66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
scaffold.dart
packages/flutter/lib/src/material/scaffold.dart
+9
-9
No files found.
packages/flutter/lib/src/material/scaffold.dart
View file @
bb328088
...
...
@@ -1111,7 +1111,7 @@ class Scaffold extends StatefulWidget {
/// A set of buttons that are displayed at the bottom of the scaffold.
///
/// Typically this is a list of [
Fla
tButton] widgets. These buttons are
/// Typically this is a list of [
Tex
tButton] widgets. These buttons are
/// persistently visible, even if the [body] of the scaffold scrolls.
///
/// These widgets will be wrapped in a [ButtonBar].
...
...
@@ -1153,7 +1153,7 @@ class Scaffold extends StatefulWidget {
/// key: _scaffoldKey,
/// appBar: AppBar(title: const Text('Drawer Demo')),
/// body: Center(
/// child:
Rais
edButton(
/// child:
Elevat
edButton(
/// onPressed: _openDrawer,
/// child: const Text('Open Drawer'),
/// ),
...
...
@@ -1164,7 +1164,7 @@ class Scaffold extends StatefulWidget {
/// mainAxisAlignment: MainAxisAlignment.center,
/// children: <Widget>[
/// const Text('This is the Drawer'),
///
Rais
edButton(
///
Elevat
edButton(
/// onPressed: _closeDrawer,
/// child: const Text('Close Drawer'),
/// ),
...
...
@@ -1213,7 +1213,7 @@ class Scaffold extends StatefulWidget {
/// key: _scaffoldKey,
/// appBar: AppBar(title: Text('Drawer Demo')),
/// body: Center(
/// child:
Rais
edButton(
/// child:
Elevat
edButton(
/// onPressed: _openEndDrawer,
/// child: Text('Open End Drawer'),
/// ),
...
...
@@ -1224,7 +1224,7 @@ class Scaffold extends StatefulWidget {
/// mainAxisAlignment: MainAxisAlignment.center,
/// children: <Widget>[
/// const Text('This is the Drawer'),
///
Rais
edButton(
///
Elevat
edButton(
/// onPressed: _closeEndDrawer,
/// child: const Text('Close Drawer'),
/// ),
...
...
@@ -1386,7 +1386,7 @@ class Scaffold extends StatefulWidget {
/// @override
/// Widget build(BuildContext context) {
/// return Center(
/// child:
Rais
edButton(
/// child:
Elevat
edButton(
/// child: Text('SHOW A SNACKBAR'),
/// onPressed: () {
/// Scaffold.of(context).showSnackBar(
...
...
@@ -1421,7 +1421,7 @@ class Scaffold extends StatefulWidget {
/// // can refer to the Scaffold with Scaffold.of().
/// builder: (BuildContext context) {
/// return Center(
/// child:
Rais
edButton(
/// child:
Elevat
edButton(
/// child: Text('SHOW A SNACKBAR'),
/// onPressed: () {
/// Scaffold.of(context).showSnackBar(SnackBar(
...
...
@@ -1966,7 +1966,7 @@ class ScaffoldState extends State<Scaffold> with TickerProviderStateMixin {
/// ```dart
/// Widget build(BuildContext context) {
/// return Center(
/// child:
Rais
edButton(
/// child:
Elevat
edButton(
/// child: const Text('showBottomSheet'),
/// onPressed: () {
/// Scaffold.of(context).showBottomSheet<void>(
...
...
@@ -1980,7 +1980,7 @@ class ScaffoldState extends State<Scaffold> with TickerProviderStateMixin {
/// mainAxisSize: MainAxisSize.min,
/// children: <Widget>[
/// const Text('BottomSheet'),
///
Rais
edButton(
///
Elevat
edButton(
/// child: const Text('Close BottomSheet'),
/// onPressed: () => Navigator.pop(context),
/// )
...
...
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