mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Merge pull request #4036 from pq/comment_refs
Cleanup dangling comment references.
This commit is contained in:
commit
8109bde6e3
@ -3,6 +3,7 @@
|
|||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'markdown.dart';
|
||||||
import 'markdown_style_raw.dart';
|
import 'markdown_style_raw.dart';
|
||||||
|
|
||||||
/// Style used for rendering markdown formatted text using the [MarkdownBody]
|
/// Style used for rendering markdown formatted text using the [MarkdownBody]
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:flutter/widgets.dart';
|
import 'package:flutter/widgets.dart';
|
||||||
|
import 'markdown.dart';
|
||||||
|
|
||||||
/// Style used for rendering markdown formatted text using the [MarkdownBody]
|
/// Style used for rendering markdown formatted text using the [MarkdownBody]
|
||||||
/// widget.
|
/// widget.
|
||||||
|
@ -5,8 +5,8 @@ part of flutter_sprites;
|
|||||||
/// constraints property.
|
/// constraints property.
|
||||||
///
|
///
|
||||||
/// Constrains are applied after the update calls are
|
/// Constrains are applied after the update calls are
|
||||||
/// completed. They can also be applied at any time by calling a [Node]'s
|
/// completed. They can also be applied at any time by calling
|
||||||
/// [applyConstraints] method. It's possible to create custom constraints by
|
/// [Node.applyConstraints]. It's possible to create custom constraints by
|
||||||
/// overriding this class and implementing the [constrain] method.
|
/// overriding this class and implementing the [constrain] method.
|
||||||
abstract class Constraint {
|
abstract class Constraint {
|
||||||
/// Called before the node's update method is called. This method can be
|
/// Called before the node's update method is called. This method can be
|
||||||
|
@ -42,7 +42,7 @@ import 'src/runner/flutter_command_runner.dart';
|
|||||||
|
|
||||||
/// Main entry point for commands.
|
/// Main entry point for commands.
|
||||||
///
|
///
|
||||||
/// This function is intended to be used from the [flutter] command line tool.
|
/// This function is intended to be used from the `flutter` command line tool.
|
||||||
Future<Null> main(List<String> args) async {
|
Future<Null> main(List<String> args) async {
|
||||||
bool help = args.contains('-h') || args.contains('--help');
|
bool help = args.contains('-h') || args.contains('--help');
|
||||||
bool verbose = args.contains('-v') || args.contains('--verbose');
|
bool verbose = args.contains('-v') || args.contains('--verbose');
|
||||||
|
@ -247,7 +247,7 @@ class DebuggingOptions {
|
|||||||
bool get hasObservatoryPort => observatoryPort != null;
|
bool get hasObservatoryPort => observatoryPort != null;
|
||||||
|
|
||||||
/// Return the user specified observatory port. If that isn't available,
|
/// Return the user specified observatory port. If that isn't available,
|
||||||
/// return [defaultObservatoryPort], or a port close to that one.
|
/// return [kDefaultObservatoryPort], or a port close to that one.
|
||||||
Future<int> findBestObservatoryPort() {
|
Future<int> findBestObservatoryPort() {
|
||||||
if (hasObservatoryPort)
|
if (hasObservatoryPort)
|
||||||
return new Future<int>.value(observatoryPort);
|
return new Future<int>.value(observatoryPort);
|
||||||
@ -257,7 +257,7 @@ class DebuggingOptions {
|
|||||||
bool get hasDiagnosticPort => diagnosticPort != null;
|
bool get hasDiagnosticPort => diagnosticPort != null;
|
||||||
|
|
||||||
/// Return the user specified diagnostic port. If that isn't available,
|
/// Return the user specified diagnostic port. If that isn't available,
|
||||||
/// return [defaultObservatoryPort], or a port close to that one.
|
/// return [kDefaultDiagnosticPort], or a port close to that one.
|
||||||
Future<int> findBestDiagnosticPort() {
|
Future<int> findBestDiagnosticPort() {
|
||||||
return findPreferredPort(diagnosticPort ?? kDefaultDiagnosticPort);
|
return findPreferredPort(diagnosticPort ?? kDefaultDiagnosticPort);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user