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
f437d025
Commit
f437d025
authored
May 27, 2017
by
Ian Hickson
Committed by
GitHub
May 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor documentation fixes (Material, Column) (#10365)
parent
e548d465
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
ink_well.dart
packages/flutter/lib/src/material/ink_well.dart
+9
-3
basic.dart
packages/flutter/lib/src/widgets/basic.dart
+1
-1
No files found.
packages/flutter/lib/src/material/ink_well.dart
View file @
f437d025
...
...
@@ -37,7 +37,10 @@ import 'theme.dart';
///
/// ![The highlight is a rectangle the size of the box.](https://flutter.github.io/assets-for-api-docs/material/ink_well.png)
///
/// Must have an ancestor [Material] widget in which to cause ink reactions.
/// The [InkResponse] widbget must have a [Material] widget as an ancestor. The
/// [Material] widget is where the ink reactions are actually painted. This
/// matches the material design premise wherein the [Material] is what is
/// actually reacting to touches by spreading ink.
///
/// If a Widget uses this class directly, it should include the following line
/// at the top of its build function to call [debugCheckHasMaterial]:
...
...
@@ -285,13 +288,16 @@ class _InkResponseState<T extends InkResponse> extends State<T> {
///
/// For a variant of this widget that does not clip splashes, see [InkResponse].
///
/// Must have an ancestor [Material] widget in which to cause ink reactions.
///
/// The following diagram shows how an [InkWell] looks when tapped, when using
/// default values.
///
/// ![The highlight is a rectangle the size of the box.](https://flutter.github.io/assets-for-api-docs/material/ink_well.png)
///
/// The [InkResponse] widbget must have a [Material] widget as an ancestor. The
/// [Material] widget is where the ink reactions are actually painted. This
/// matches the material design premise wherein the [Material] is what is
/// actually reacting to touches by spreading ink.
///
/// If a Widget uses this class directly, it should include the following line
/// at the top of its build function to call [debugCheckHasMaterial]:
///
...
...
packages/flutter/lib/src/widgets/basic.dart
View file @
f437d025
...
...
@@ -2282,7 +2282,7 @@ class Row extends Flex {
/// new Text('Craft beautiful UIs'),
/// new Expanded(
/// child: new FittedBox(
/// fit: BoxFit.contain,
/// fit: BoxFit.contain,
// otherwise the logo will be tiny
/// child: const FlutterLogo(),
/// ),
/// ),
...
...
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