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
991b50e4
Commit
991b50e4
authored
Mar 18, 2016
by
Ian Hickson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2776 from Hixie/md-fixes
Miscellaneous dartdoc markdown fixes
parents
121c7a03
561a94cc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
16 deletions
+17
-16
painting.dart
packages/flutter/lib/painting.dart
+1
-0
floating_action_button.dart
...ages/flutter/lib/src/material/floating_action_button.dart
+1
-2
raised_button.dart
packages/flutter/lib/src/material/raised_button.dart
+2
-1
snack_bar.dart
packages/flutter/lib/src/material/snack_bar.dart
+3
-3
sprite_box.dart
packages/flutter_sprites/lib/src/sprite_box.dart
+10
-10
No files found.
packages/flutter/lib/painting.dart
View file @
991b50e4
...
...
@@ -9,6 +9,7 @@
/// images, interpolating between shadows, painting borders around boxes, etc.
///
/// In particular:
///
/// * Use the [TextPainter] class for painting text.
/// * Use [Decoration] (and more concretely [BoxDecoration]) for
/// painting boxes.
...
...
packages/flutter/lib/src/material/floating_action_button.dart
View file @
991b50e4
...
...
@@ -31,8 +31,7 @@ const Interval _kChildSegueInterval = const Interval(0.65, 1.0);
/// If the [onPressed] callback is not specified or null, then the button will
/// be disabled, will not react to touch.
///
/// See also:
/// * https://www.google.com/design/spec/components/buttons-floating-action-button.html
/// See also: <https://www.google.com/design/spec/components/buttons-floating-action-button.html>
class
FloatingActionButton
extends
StatefulWidget
{
const
FloatingActionButton
({
Key
key
,
...
...
packages/flutter/lib/src/material/raised_button.dart
View file @
991b50e4
...
...
@@ -24,8 +24,9 @@ import 'theme.dart';
/// handler.
///
/// See also:
///
/// * [FlatButton] class
/// *
https://www.google.com/design/spec/components/buttons.html
/// *
<https://www.google.com/design/spec/components/buttons.html>
class
RaisedButton
extends
MaterialButton
{
RaisedButton
({
Key
key
,
...
...
packages/flutter/lib/src/material/snack_bar.dart
View file @
991b50e4
...
...
@@ -35,8 +35,7 @@ const Curve _snackBarFadeCurve = const Interval(0.72, 1.0, curve: Curves.fastOut
/// Snack bar actions are always enabled. If you want to disable a snack bar
/// action, simply don't include it in the snack bar.
///
/// See also:
/// * https://www.google.com/design/spec/components/snackbars-toasts.html
/// See also: <https://www.google.com/design/spec/components/snackbars-toasts.html>
class
SnackBarAction
extends
StatelessWidget
{
SnackBarAction
({
Key
key
,
this
.
label
,
this
.
onPressed
})
:
super
(
key:
key
)
{
assert
(
label
!=
null
);
...
...
@@ -68,9 +67,10 @@ class SnackBarAction extends StatelessWidget {
/// Displayed with the Scaffold.of().showSnackBar() API.
///
/// See also:
///
/// * [Scaffold.of] and [ScaffoldState.showSnackBar]
/// * [SnackBarAction]
/// *
https://www.google.com/design/spec/components/snackbars-toasts.html
/// *
<https://www.google.com/design/spec/components/snackbars-toasts.html>
class
SnackBar
extends
StatelessWidget
{
SnackBar
({
Key
key
,
...
...
packages/flutter_sprites/lib/src/sprite_box.dart
View file @
991b50e4
...
...
@@ -2,16 +2,16 @@ part of flutter_sprites;
/// Options for setting up a [SpriteBox].
///
/// * [nativePoints]
,
use the same points as the parent [Widget].
/// * [letterbox]
, use the size of the root node for the coordinate system,
constrain the aspect ratio and trim off
/// areas that end up outside the screen.
/// * [stretch]
, use the size of the root node for the coordinate system,
scale it to fit the size of the box.
/// * [scaleToFit]
,
similar to the letterbox option, but instead of trimming areas the sprite system will be scaled
/// down to fit the box.
/// * [fixedWidth]
, uses the width of the root node to set the size of the coordinate system, this option will
change
/// the height of the root node to fit the box.
/// * [fixedHeight]
, uses the height of the root node to set the size of the coordinate system, this option will
change
/// the width of the root node to fit the box.
/// * [nativePoints]
:
use the same points as the parent [Widget].
/// * [letterbox]
: use the size of the root node for the coordinate system, and
constrain the aspect ratio and trim off
///
areas that end up outside the screen.
/// * [stretch]
: use the size of the root node for the coordinate system, and
scale it to fit the size of the box.
/// * [scaleToFit]
:
similar to the letterbox option, but instead of trimming areas the sprite system will be scaled
///
down to fit the box.
/// * [fixedWidth]
: use the width of the root node to set the size of the coordinate system, and
change
///
the height of the root node to fit the box.
/// * [fixedHeight]
: use the height of the root node to set the size of the coordinate system, and
change
///
the width of the root node to fit the box.
enum
SpriteBoxTransformMode
{
nativePoints
,
letterbox
,
...
...
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