mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix references in examples (#151204)
Part of https://github.com/flutter/flutter/issues/150800
This commit is contained in:
parent
91b928d52f
commit
56835d6039
@ -4,7 +4,7 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Flutter code sample for [Carousel].
|
||||
/// Flutter code sample for [CarouselView].
|
||||
|
||||
void main() => runApp(const CarouselExampleApp());
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Flutter code sample for [ActionChoice].
|
||||
/// Flutter code sample for [ChoiceChip].
|
||||
|
||||
void main() => runApp(const ChipApp());
|
||||
|
||||
|
@ -138,7 +138,7 @@ typedef RemovedItemBuilder<T> = Widget Function(T item, BuildContext context, An
|
||||
/// This class only exposes as much of the Dart List API as is needed by the
|
||||
/// sample app. More list methods are easily added, however methods that
|
||||
/// mutate the list must make the same changes to the animated list in terms
|
||||
/// of [AnimatedGridState.insertItem] and [AnimatedGrid.removeItem].
|
||||
/// of [AnimatedGridState.insertItem] and [AnimatedGridState.removeItem].
|
||||
class ListModel<E> {
|
||||
ListModel({
|
||||
required this.listKey,
|
||||
|
@ -122,7 +122,7 @@ typedef RemovedItemBuilder<T> = Widget Function(T item, BuildContext context, An
|
||||
/// This class only exposes as much of the Dart List API as is needed by the
|
||||
/// sample app. More list methods are easily added, however methods that
|
||||
/// mutate the list must make the same changes to the animated list in terms
|
||||
/// of [AnimatedListState.insertItem] and [AnimatedList.removeItem].
|
||||
/// of [AnimatedListState.insertItem] and [AnimatedListState.removeItem].
|
||||
class ListModel<E> {
|
||||
ListModel({
|
||||
required this.listKey,
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Flutter code sample for [WidgetBindingsObserver].
|
||||
/// Flutter code sample for [WidgetsBindingObserver].
|
||||
|
||||
void main() => runApp(const WidgetBindingObserverExampleApp());
|
||||
|
||||
|
@ -6,7 +6,7 @@ import 'dart:typed_data';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Flutter code sample for [EditableText.onContentInserted].
|
||||
/// Flutter code sample for [EditableText.contentInsertionConfiguration].
|
||||
|
||||
void main() => runApp(const KeyboardInsertedContentApp());
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/scheduler.dart';
|
||||
|
||||
/// Flutter code sample for [IsScrollingListener].
|
||||
/// Flutter code sample for [ScrollPosition.isScrollingNotifier].
|
||||
void main() {
|
||||
runApp(const IsScrollingListenerApp());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user