Normalize examples (#111223)
This commit is contained in:
parent
d63442c1da
commit
e617d003fb
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Curve2D
|
||||
/// Flutter code sample for [Curve2D].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoActivityIndicator
|
||||
/// Flutter code sample for [CupertinoActivityIndicator].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
@ -57,7 +57,8 @@ class CupertinoIndicatorExample extends StatelessWidget {
|
||||
Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: const <Widget>[
|
||||
// Cupertino activity indicator with custom radius and disabled animation.
|
||||
// Cupertino activity indicator with custom radius and disabled
|
||||
// animation.
|
||||
CupertinoActivityIndicator(radius: 20.0, animating: false),
|
||||
SizedBox(height: 10),
|
||||
Text(
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoTabBar
|
||||
/// Flutter code sample for [CupertinoTabBar].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoButton
|
||||
/// Flutter code sample for [CupertinoButton].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoContextMenu
|
||||
/// Flutter code sample for [CupertinoContextMenu].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoDatePicker
|
||||
/// Flutter code sample for [CupertinoDatePicker].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
@ -32,14 +32,16 @@ class _DatePickerExampleState extends State<DatePickerExample> {
|
||||
DateTime time = DateTime(2016, 5, 10, 22, 35);
|
||||
DateTime dateTime = DateTime(2016, 8, 3, 17, 45);
|
||||
|
||||
// This shows a CupertinoModalPopup with a reasonable fixed height which hosts CupertinoDatePicker.
|
||||
// This function displays a CupertinoModalPopup with a reasonable fixed height
|
||||
// which hosts CupertinoDatePicker.
|
||||
void _showDialog(Widget child) {
|
||||
showCupertinoModalPopup<void>(
|
||||
context: context,
|
||||
builder: (BuildContext context) => Container(
|
||||
height: 216,
|
||||
padding: const EdgeInsets.only(top: 6.0),
|
||||
// The Bottom margin is provided to align the popup above the system navigation bar.
|
||||
// The Bottom margin is provided to align the popup above the system
|
||||
// navigation bar.
|
||||
margin: EdgeInsets.only(
|
||||
bottom: MediaQuery.of(context).viewInsets.bottom,
|
||||
),
|
||||
@ -85,8 +87,9 @@ class _DatePickerExampleState extends State<DatePickerExample> {
|
||||
},
|
||||
),
|
||||
),
|
||||
// In this example, the date value is formatted manually. You can use intl package
|
||||
// to format the value based on user's locale settings.
|
||||
// In this example, the date is formatted manually. You can
|
||||
// use the intl package to format the value based on the
|
||||
// user's locale settings.
|
||||
child: Text('${date.month}-${date.day}-${date.year}',
|
||||
style: const TextStyle(
|
||||
fontSize: 22.0,
|
||||
@ -111,8 +114,9 @@ class _DatePickerExampleState extends State<DatePickerExample> {
|
||||
},
|
||||
),
|
||||
),
|
||||
// In this example, the time value is formatted manually. You can use intl package to
|
||||
// format the value based on the user's locale settings.
|
||||
// In this example, the time value is formatted manually.
|
||||
// You can use the intl package to format the value based on
|
||||
// the user's locale settings.
|
||||
child: Text('${time.hour}:${time.minute}',
|
||||
style: const TextStyle(
|
||||
fontSize: 22.0,
|
||||
@ -136,8 +140,9 @@ class _DatePickerExampleState extends State<DatePickerExample> {
|
||||
},
|
||||
),
|
||||
),
|
||||
// In this example, time value is formatted manually. You can use intl package to
|
||||
// format the value based on the user's locale settings.
|
||||
// In this example, the time value is formatted manually. You
|
||||
// can use the intl package to format the value based on the
|
||||
// user's locale settings.
|
||||
child: Text('${dateTime.month}-${dateTime.day}-${dateTime.year} ${dateTime.hour}:${dateTime.minute}',
|
||||
style: const TextStyle(
|
||||
fontSize: 22.0,
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoTimerPicker
|
||||
/// Flutter code sample for [CupertinoTimerPicker].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
@ -30,14 +30,16 @@ class TimerPickerExample extends StatefulWidget {
|
||||
class _TimerPickerExampleState extends State<TimerPickerExample> {
|
||||
Duration duration = const Duration(hours: 1, minutes: 23);
|
||||
|
||||
// This shows a CupertinoModalPopup with a reasonable fixed height which hosts CupertinoTimerPicker.
|
||||
// This shows a CupertinoModalPopup with a reasonable fixed height which hosts
|
||||
// a CupertinoTimerPicker.
|
||||
void _showDialog(Widget child) {
|
||||
showCupertinoModalPopup<void>(
|
||||
context: context,
|
||||
builder: (BuildContext context) => Container(
|
||||
height: 216,
|
||||
padding: const EdgeInsets.only(top: 6.0),
|
||||
// The Bottom margin is provided to align the popup above the system navigation bar.
|
||||
// The bottom margin is provided to align the popup above the system
|
||||
// navigation bar.
|
||||
margin: EdgeInsets.only(
|
||||
bottom: MediaQuery.of(context).viewInsets.bottom,
|
||||
),
|
||||
@ -76,14 +78,16 @@ class _TimerPickerExampleState extends State<TimerPickerExample> {
|
||||
CupertinoTimerPicker(
|
||||
mode: CupertinoTimerPickerMode.hm,
|
||||
initialTimerDuration: duration,
|
||||
// This is called when the user changes the timer duration.
|
||||
// This is called when the user changes the timer's
|
||||
// duration.
|
||||
onTimerDurationChanged: (Duration newDuration) {
|
||||
setState(() => duration = newDuration);
|
||||
},
|
||||
),
|
||||
),
|
||||
// In this example, the timer value is formatted manually. You can use intl package
|
||||
// to format the value based on user's locale settings.
|
||||
// In this example, the timer's value is formatted manually.
|
||||
// You can use the intl package to format the value based on
|
||||
// the user's locale settings.
|
||||
child: Text('$duration',
|
||||
style: const TextStyle(
|
||||
fontSize: 22.0,
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoActionSheet
|
||||
/// Flutter code sample for [CupertinoActionSheet].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoAlertDialog
|
||||
/// Flutter code sample for [CupertinoAlertDialog].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoFormRow
|
||||
/// Flutter code sample for [CupertinoFormRow].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for base CupertinoListSection and CupertinoListTile.
|
||||
/// Flutter code sample for base [CupertinoListSection] and [CupertinoListTile].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for inset CupertinoListSection and CupertinoListTile.
|
||||
/// Flutter code sample for inset [CupertinoListSection] and [CupertinoListTile].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoNavigationBar
|
||||
/// Flutter code sample for [CupertinoNavigationBar].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoSliverNavigationBar
|
||||
/// Flutter code sample for [CupertinoSliverNavigationBar].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoPageScaffold
|
||||
/// Flutter code sample for [CupertinoPageScaffold].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoPicker
|
||||
/// Flutter code sample for [CupertinoPicker].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoSliverRefreshControl
|
||||
/// Flutter code sample for [CupertinoSliverRefreshControl].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for showCupertinoDialog
|
||||
/// Flutter code sample for [showCupertinoDialog].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for showCupertinoModalPopup
|
||||
/// Flutter code sample for [showCupertinoModalPopup].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoScrollbar
|
||||
/// Flutter code sample for [CupertinoScrollbar].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoScrollbar
|
||||
/// Flutter code sample for [CupertinoScrollbar].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoSearchTextField
|
||||
/// Flutter code sample for [CupertinoSearchTextField].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoSearchTextField
|
||||
/// Flutter code sample for [CupertinoSearchTextField].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoSegmentedControl
|
||||
/// Flutter code sample for [CupertinoSegmentedControl].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoSlidingSegmentedControl
|
||||
/// Flutter code sample for [CupertinoSlidingSegmentedControl].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoSlider
|
||||
/// Flutter code sample for [CupertinoSlider].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoSwitch
|
||||
/// Flutter code sample for [CupertinoSwitch].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoTabController
|
||||
/// Flutter code sample for [CupertinoTabController].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoTabScaffold
|
||||
/// Flutter code sample for [CupertinoTabScaffold].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoTextField
|
||||
/// Flutter code sample for [CupertinoTextField].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CupertinoTextFormFieldRow
|
||||
/// Flutter code sample for [CupertinoTextFormFieldRow].
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for ChangeNotifier with an AnimatedBuilder
|
||||
/// Flutter code sample for a [ChangeNotifier] with an [AnimatedBuilder].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for PointerSignalResolver
|
||||
/// Flutter code sample for [PointerSignalResolver].
|
||||
|
||||
import 'package:flutter/gestures.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for AboutListTile
|
||||
/// Flutter code sample for [AboutListTile].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample ActionChip
|
||||
/// Flutter code sample [ActionChip].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for AppBar
|
||||
/// Flutter code sample for [AppBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for AppBar
|
||||
/// Flutter code sample for [AppBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for AppBar
|
||||
/// Flutter code sample for [AppBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for AppBar
|
||||
/// Flutter code sample for [AppBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for SliverAppBar
|
||||
/// Flutter code sample for [SliverAppBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for SliverAppBar.medium
|
||||
/// Flutter code sample for [SliverAppBar.medium].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for SliverAppBar.large
|
||||
/// Flutter code sample for [SliverAppBar.large].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Autocomplete
|
||||
/// Flutter code sample for [Autocomplete].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Autocomplete
|
||||
/// Flutter code sample for [Autocomplete].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for MaterialBanner
|
||||
/// Flutter code sample for [MaterialBanner].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for MaterialBanner
|
||||
/// Flutter code sample for [MaterialBanner].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for BottomAppBar
|
||||
/// Flutter code sample for [BottomAppBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for BottomNavigationBar
|
||||
/// Flutter code sample for [BottomNavigationBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for BottomNavigationBar
|
||||
/// Flutter code sample for [BottomNavigationBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for BottomNavigationBar
|
||||
/// Flutter code sample for [BottomNavigationBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for showModalBottomSheet
|
||||
/// Flutter code sample for [showModalBottomSheet].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for ElevatedButton
|
||||
/// Flutter code sample for [ElevatedButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Card
|
||||
/// Flutter code sample for [Card].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Card
|
||||
/// Flutter code sample for [Card].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Card
|
||||
/// Flutter code sample for [Card].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Checkbox
|
||||
/// Flutter code sample for [Checkbox].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CheckboxListTile
|
||||
/// Flutter code sample for [CheckboxListTile].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/scheduler.dart' show timeDilation;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CheckboxListTile
|
||||
/// Flutter code sample for [CheckboxListTile].
|
||||
|
||||
import 'package:flutter/gestures.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for CheckboxListTile
|
||||
/// Flutter code sample for [CheckboxListTile].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for DeletableChipAttributes.onDeleted
|
||||
/// Flutter code sample for [DeletableChipAttributes.onDeleted].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample ActionChoice
|
||||
/// Flutter code sample for [ActionChoice].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for DataTable
|
||||
/// Flutter code sample for [DataTable].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for DataTable
|
||||
/// Flutter code sample for [DataTable].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for showDatePicker
|
||||
/// Flutter code sample for [showDatePicker].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for showDateRangePicker
|
||||
/// Flutter code sample for [showDateRangePicker].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for AlertDialog
|
||||
/// Flutter code sample for [AlertDialog].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for AlertDialog
|
||||
/// Flutter code sample for [AlertDialog].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for showDialog
|
||||
/// Flutter code sample for [showDialog].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for showDialog
|
||||
/// Flutter code sample for [showDialog].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for showDialog
|
||||
/// Flutter code sample for [showDialog].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Divider
|
||||
/// Flutter code sample for [Divider].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for VerticalDivider
|
||||
/// Flutter code sample for [VerticalDivider].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for DropdownButton
|
||||
/// Flutter code sample for [DropdownButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for DropdownButton.selectedItemBuilder
|
||||
/// Flutter code sample for [DropdownButton.selectedItemBuilder].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for DropdownButton.style
|
||||
/// Flutter code sample for [DropdownButton.style].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for ElevatedButton
|
||||
/// Flutter code sample for [ElevatedButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for ExpansionPanelList
|
||||
/// Flutter code sample for [ExpansionPanelList].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for ExpansionPanelList.ExpansionPanelList.radio
|
||||
/// Flutter code sample for [ExpansionPanelList.ExpansionPanelList.radio].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for ExpansionTile
|
||||
/// Flutter code sample for [ExpansionTile].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for FilledButton
|
||||
/// Flutter code sample for [FilledButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample FilterChip
|
||||
/// Flutter code sample for [FilterChip].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for FlexibleSpaceBar
|
||||
/// Flutter code sample for [FlexibleSpaceBar].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for FloatingActionButton
|
||||
/// Flutter code sample for [FloatingActionButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for FloatingActionButton
|
||||
/// Flutter code sample for [FloatingActionButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for FloatingActionButton
|
||||
/// Flutter code sample for [FloatingActionButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for FloatingActionButton
|
||||
/// Flutter code sample for [FloatingActionButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for StandardFabLocation
|
||||
/// Flutter code sample for [StandardFabLocation].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for IconButton
|
||||
/// Flutter code sample for [IconButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for IconButton
|
||||
/// Flutter code sample for [IconButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for IconButton
|
||||
/// Flutter code sample for [IconButton].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for IconButton with toggle feature
|
||||
/// Flutter code sample for [IconButton] with toggle feature.
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Image.frameBuilder
|
||||
/// Flutter code sample for [Image.frameBuilder].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for Image.frameBuilder
|
||||
/// Flutter code sample for [Image.frameBuilder].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for InkWell
|
||||
/// Flutter code sample for [InkWell].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample InputChip
|
||||
// Flutter code sample InputChip.
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for InputDecoration
|
||||
/// Flutter code sample for [InputDecoration].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for InputDecoration
|
||||
/// Flutter code sample for [InputDecoration].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for InputDecoration
|
||||
/// Flutter code sample for [InputDecoration].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for InputDecoration
|
||||
/// Flutter code sample for [InputDecoration].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flutter code sample for InputDecorator
|
||||
/// Flutter code sample for [InputDecorator].
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user