Repository: flutter
Issue: Looping List & Keep alive
Labels: framework,f: scrolling,c: proposal,P3,team-framework,triaged-framework

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Run `flutter create bug`.
2. Update the files as follows: 

<details>
  <summary>main.dart</summary>

```dart
import 'package:flutter/material.dart';
import 'package:bug/infinite_carousel_slider.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class PlaceModel {
  final String name;

  PlaceModel(this.name);
}

List<List<PlaceModel>> categories = [
  [
    PlaceModel("Category 1, Place 1"),
    PlaceModel("Category 1, Place 2"),
    PlaceModel("Category 1, Place 3"),
  ],
  [
    PlaceModel("Category 2, Place 1"),
    PlaceModel("Category 2, Place 2"),
    PlaceModel("Category 2, Place 3"),
  ],
  [
    PlaceModel("Category 3, Place 1"),
    PlaceModel("Category 3, Place 2"),
    PlaceModel("Category 3, Place 3"),
  ],
];

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: _mainCarousel(),
    );
  }

  Widget _mainCarousel() {
    double width = MediaQuery.of(context).size.width;
    double height = MediaQuery.of(context).size.height;

    return InfiniteCarouselSlider(
      aspectRatio: width / height,
      scrollDirection: Axis.vertical,
      viewportFraction: 0.76,
      items: <Widget>[
        for (int i = 0; i < categories.length; i++) _categoryCarouselItem(i)
      ],
    );
  }

  Widget _categoryCarouselItem(int categoryIndex) {
    double width = MediaQuery.of(context).size.width;
    double height = MediaQuery.of(context).size.height;

    return InfiniteCarouselSlider(
      aspectRatio: width / height,
      scrollDirection: Axis.horizontal,
      viewportFraction: 0.875,
      items: <Widget>[
        for (int i = 0; i < categories[categoryIndex].length; i++)
          PlaceWidget(categories[categoryIndex][i].name)
      ],
    );
  }
}

class PlaceWidget extends StatefulWidget {
  final String name;

  PlaceWidget(this.name);

  @override
  _PlaceWidgetState createState() => _PlaceWidgetState();
}

class _PlaceWidgetState extends State<PlaceWidget> {
  @override
  void initState() {
    super.initState();
    print("initState: ${widget.name}");
  }

  @override
  void dispose() {
    print("dispose: ${widget.name}");
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.all(8.0),
      child: Container(
        color: Colors.orangeAccent,
        child: Center(
          child: Text(widget.name),
        ),
      ),
    );
  }
}
```

</details>

<details>
  <summary>infinite_carousel_slider.dart</summary>

```dart
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

class InfiniteCarouselSlider extends StatefulWidget {
  InfiniteCarouselSlider({
    @required this.items,
    this.aspectRatio: 16 / 9,
    this.viewportFraction: 0.8,
    this.scrollDirection: Axis.horizontal,
  })  : this.realPage = 10000,
        this.pageController = PageController(
          viewportFraction: viewportFraction,
          initialPage: 10000,
        );

  final List<Widget> items;

  /// Aspect ratio is used if no height have been declared.
  ///
  /// Defaults to 16:9 aspect ratio.
  final double aspectRatio;

  /// The fraction of the viewport that each page should occupy.
  ///
  /// Defaults to 0.8, which means each page fills 80% of the carousel.
  final num viewportFraction;

  /// The actual index of the [PageView].
  ///
  /// This value can be ignored unless you know the carousel will be scrolled
  /// backwards more then 10000 pages.
  /// Defaults to 10000 to simulate infinite backwards scrolling.
  final num realPage;

  /// The axis along which the page view scrolls.
  ///
  /// Defaults to [Axis.horizontal].
  final Axis scrollDirection;

  /// [pageController] is created using the properties passed to the constructor
  /// and can be used to control the [PageView] it is passed to.
  final PageController pageController;

  @override
  _InfiniteCarouselSliderState createState() => _InfiniteCarouselSliderState();
}

class _InfiniteCarouselSliderState extends State<InfiniteCarouselSlider> {
  @override
  Widget build(BuildContext context) {
    return AspectRatio(
      aspectRatio: widget.aspectRatio,
      child: PageView.builder(
        scrollDirection: widget.scrollDirection,
        controller: widget.pageController,
        itemCount: null,
        itemBuilder: (BuildContext context, int i) {
          final int index = _getRealIndex(
            i,
            widget.realPage,
            widget.items.length,
          );

          return widget.items[index];
        },
      ),
    );
  }
}

/// Converts an index of a set size to the corresponding index of a collection of another size
/// as if they were circular.
///
/// Takes a [position] from collection Foo, a [base] from where Foo's index originated
/// and the [length] of a second collection Baa, for which the correlating index is sought.
///
/// For example; We have a Carousel of 10000(simulating infinity) but only 6 images.
/// We need to repeat the images to give the illusion of a never ending stream.
/// By calling _getRealIndex with position and base we get an offset.
/// This offset modulo our length, 6, will return a number between 0 and 5, which represent the image
/// to be placed in the given position.
int _getRealIndex(int position, int base, int length) {
  final int offset = position - base;
  return _remainder(offset, length);
}

/// Returns the remainder of the modulo operation [input] % [source], and adjust it for
/// negative values.
int _remainder(int input, int source) {
  if (source == 0) return 0;
  final int result = input % source;
  return result < 0 ? source + result : result;
}
```

</details>

3. run application
4. scroll in vertical ( by categories ) or in horizontal ( by places in category ) direction 


**Expected results:** I want to avoid recreation of  _PlaceWidgetState and and the whole hierarchy of widgets with their states and render objects.

**Actual results:** 
In logs you can see, that _PlaceWidgetState will be created and destroyed while you scroll.



**Additional comments:**

This sample code shows general problem with very simple items in grid. 
But in my app each item is a compLex card with big image, big video ans some other widgets.
So recreation of each card with all states, render objects and layout is an expensive task.

Also I have to notice that when you scroll by places in category only one card will be destroyed and recreated back, but when you scroll by categories there'll be reacreation of the whole category with all visible ( 3 ) places.

Also if you will scroll slow, you can see in logs, that the item is destroyed as soon as it disappears from the screen and recreates back as soon as it appears back or from the other side. So we can notice that recreation of item happens at the moment of scrolling or animation of scroll. Missed frames due to the creation of a complex item is even more noticeable to the end user, because scroll jerk occurs.

The peculiarity of this case is that the number of visible items on the screen is known in advance and the list is looped.

Looped list is the reason why KeepAlive widget is not suitable for this. In my project I use `carousel_slider` package. To simplify the sample I have removed all unnecessary code from this package and placed it in sample.

I understand how reusing of states in Flutter works and reasons of the observed behavior. But idea of state was to be reusable and  the described situation seems appropriate to me to reuse the state.

However when user scrolls between items there is a moment when only 2 items are present on the screen and state is destroyed. But this "state" looks like transition moment between two "states" of UI ( because there are pages with snap ), so it looks like we may keep pages while transition is going on.

There is screenshot of my app:
![Screenshot_2020-01-18-14-41-45-708_dev optimist gohere](https://user-images.githubusercontent.com/18647037/72677840-9ca67b00-3ab1-11ea-8812-84dd340879c8.png)

There is screenrecord of debug build of my app:
https://photos.app.goo.gl/845kgoeD1m7Rwhq1A

<details>
  <summary>Logs</summary>

```
flutter run --verbose
[  +23 ms] executing: [/Users/sanekyy/Programs/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +34 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] c88320458ea86da379aec43dcd24057ad1d79652
[        ] executing: [/Users/sanekyy/Programs/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +17 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.14.1-0-gc88320458
[   +6 ms] executing: [/Users/sanekyy/Programs/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [/Users/sanekyy/Programs/flutter/] git ls-remote --get-url origin
[  +13 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +50 ms] executing: [/Users/sanekyy/Programs/flutter/] git rev-parse --abbrev-ref HEAD
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[   +6 ms] executing: sw_vers -productName
[  +24 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +16 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.2
[        ] executing: sw_vers -buildVersion
[  +20 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19C57
[  +30 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +35 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb devices -l
[   +5 ms] Exit code 0 from: /Users/sanekyy/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
           3193ac21               device usb:338755584X product:tulip_ru model:Redmi_Note_6_Pro device:tulip transport_id:1
[  +19 ms] executing: /Users/sanekyy/Programs/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[  +47 ms] executing: /usr/bin/xcode-select --print-path
[   +7 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +663 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +1 ms] Xcode 11.3.1
           Build version 11C504
[   +3 ms] /usr/bin/xcrun simctl list --json devices
[  +97 ms] /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 shell getprop
[ +127 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +7 ms] executing: zip -T /Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/flutter-web-sdk-darwin-x64.zip
[   +9 ms] Downloading Web SDK...
[   +8 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/flutter-web-sdk-darwin-x64.zip
[ +617 ms] Received response from server, collecting bytes...
[+1824 ms] Downloading Web SDK... (completed in 2.4s)
[        ] executing: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/flutter-web-sdk-darwin-x64.zip
-d /Users/sanekyy/Programs/flutter/bin/cache/flutter_web_sdk
[ +181 ms] Exit code 0 from: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/flutter-web-sdk-darwin-x64.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/flutter_web_sdk
[ +243 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +4 ms] executing: zip -T
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64/FlutterMacOS.framework.zip
[   +5 ms] Downloading darwin-x64 tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64/FlutterMacOS.framework.zip
[ +546 ms] Received response from server, collecting bytes...
[+8700 ms] Downloading darwin-x64 tools... (completed in 9.2s)
[        ] executing: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64
[  +87 ms] Exit code 0 from: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64
[  +31 ms] executing: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework
[ +258 ms] Exit code 0 from: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework
[   +1 ms] executing: zip -T
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-profile/FlutterMacOS.framework.zip
[   +5 ms] Downloading darwin-x64-profile tools...
[        ] Downloading: https://storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-profile/FlutterMacOS.framework.zip
[ +488 ms] Received response from server, collecting bytes...
[+4125 ms] Downloading darwin-x64-profile tools... (completed in 4.6s)
[        ] executing: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-profile/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile
[  +58 ms] Exit code 0 from: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-profile/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile
[  +30 ms] executing: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile/FlutterMacOS.framework
[ +157 ms] Exit code 0 from: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile/FlutterMacOS.framework
[   +1 ms] executing: zip -T /Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-profile/artifacts.zip
[   +3 ms] Downloading darwin-x64-profile tools...
[        ] Downloading: https://storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-profile/artifacts.zip
[ +693 ms] Received response from server, collecting bytes...
[+1454 ms] Downloading darwin-x64-profile tools... (completed in 2.1s)
[        ] executing: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-profile/artifacts.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile
[  +57 ms] Exit code 0 from: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-profile/artifacts.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile
[  +22 ms] executing: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile/FlutterMacOS.framework
[ +160 ms] Exit code 0 from: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-profile/FlutterMacOS.framework
[   +1 ms] executing: zip -T
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-release/FlutterMacOS.framework.zip
[   +5 ms] Downloading darwin-x64-release tools...
[        ] Downloading: https://storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-release/FlutterMacOS.framework.zip
[ +496 ms] Received response from server, collecting bytes...
[+3330 ms] Downloading darwin-x64-release tools... (completed in 3.8s)
[        ] executing: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-release/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release
[  +48 ms] Exit code 0 from: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-release/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release
[  +26 ms] executing: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.framework
[ +127 ms] Exit code 0 from: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.framework
[   +1 ms] executing: zip -T /Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-release/artifacts.zip
[   +3 ms] Downloading darwin-x64-release tools...
[        ] Downloading: https://storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-release/artifacts.zip
[ +744 ms] Received response from server, collecting bytes...
[+2112 ms] Downloading darwin-x64-release tools... (completed in 2.9s)
[        ] executing: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-release/artifacts.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release
[  +48 ms] Exit code 0 from: unzip -o -q
/Users/sanekyy/Programs/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/bc41ab513932694fccaed8c2d40e2e66630fdc88/darwin-x64-release/artifacts.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release
[  +20 ms] executing: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.framework
[ +128 ms] Exit code 0 from: unzip -o -q /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.framework.zip -d
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.framework
[   +5 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +177 ms] Generating /Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +18 ms] ro.hardware = qcom
[  +25 ms] Launching lib/main.dart on Redmi Note 6 Pro in debug mode...
[   +6 ms] executing: /Users/sanekyy/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/build/app/outputs/apk/app.apk
AndroidManifest.xml
[  +18 ms] Exit code 0 from: /Users/sanekyy/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree
/Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/build/app/outputs/apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.reuse_states_and_render_objects_in_list_sample" (Raw: "com.example.reuse_states_and_render_objects_in_list_sample")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="reuse_states_and_render_objects_in_list_sample" (Raw: "reuse_states_and_render_objects_in_list_sample")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.reuse_states_and_render_objects_in_list_sample.MainActivity" (Raw: "com.example.reuse_states_and_render_objects_in_list_sample.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: intent-filter (line=35)
                     E: action (line=36)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=38)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=45)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +6 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 shell -x logcat -v time -t 1
[ +179 ms] Exit code 0 from: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 shell -x logcat -v time -t 1
[        ] --------- beginning of system
           01-18 13:39:06.650 W/MiuiGesturePointerEventListener( 1893): onActionDown end: mGestureStatus = 0
[   +2 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 logcat -v time -T 01-18 13:39:06.650
[   +6 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb version
[  +11 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as /Users/sanekyy/Library/Android/sdk/platform-tools/adb
[   +2 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb start-server
[   +6 ms] Building APK
[  +17 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +2 ms] Using gradle from /Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/android/gradlew.
[        ] /Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/android/gradlew mode: 33261 rwxr-xr-x.
[ +129 ms] executing: /usr/bin/plutil -convert json -o - /Users/sanekyy/Applications/JetBrains Toolbox/Android Studio.app/Contents/Info.plist
[  +11 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Users/sanekyy/Applications/JetBrains Toolbox/Android Studio.app/Contents/Info.plist
[        ]
{"NSUIElement":false,"CFBundleIdentifier":"com.jetbrains.apps.activator.linkapp.pcom.jetbrains.apps.activator__ndroid_tudio_3_5_3","CFBundleInfoDictionaryVersion":"6.0","CFBundleLongVersionString":"3.5.
3","CFBundleVersion":"3.5.3","CFBundleName":"Android Studio
3.5.3","CFBundleExecutable":"jetbrains-toolbox-launcher","CFBundleGetInfoString":"","NSHighResolutionCapable":true,"CFBundleSignature":"????","LSUIElement":true,"CFBundlePackageType":"APPL","CFBundleIco
nFile":"icon.icns","JetBrainsToolboxApp":"\/Users\/sanekyy\/Library\/Application Support\/JetBrains\/Toolbox\/apps\/AndroidStudio\/ch-0\/191.6010548\/Android
Studio.app","CFBundleDevelopmentRegion":"English","NSHumanReadableCopyright":"Copyright (c) JetBrains s.r.o.","CFBundleShortVersionString":"3.5.3"}
[   +2 ms] executing: /usr/bin/plutil -convert json -o - /Users/sanekyy/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/Info.plist
[   +8 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Users/sanekyy/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android
Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP
_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","WorkingDirectory":"$APP_PACKAGE\/Contents\/bin","MainClass":"c
om.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio3.5","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.home.path":"$APP_PACKAGE\/Contents"}},"LSArchitectur
ePriority":["x86_64"],"CFBundleVersion":"AI-191.8026.42.35.6010548","CFBundleDevelopmentRegion":"English","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All
documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","C
FBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"3.5","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","LSRequiresNativeExecution":"YES","CF
BundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-cate
gory.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","CFBundleGetInfoString":"Android Studio 3.5, build AI-191.8026.42.35.6010548. Copyright JetBrains s.r.o., (c) 2000-2019"}
[   +3 ms] executing: /Users/sanekyy/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[  +75 ms] Exit code 0 from: /Users/sanekyy/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
           OpenJDK 64-Bit Server VM (build 25.202-b49-5587405, mixed mode)
[   +1 ms] executing: [/Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/android/]
/Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/android/gradlew -Pverbose=true
-Ptarget=/Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-arm64
assembleDebug
[+3056 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +21 ms] executing: [/Users/sanekyy/Programs/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +39 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] c88320458ea86da379aec43dcd24057ad1d79652
[        ] [        ] executing: [/Users/sanekyy/Programs/flutter/] git describe --match v*.*.* --first-parent --long --tags
[        ] [  +14 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] [        ] v1.14.1-0-gc88320458
[        ] [   +7 ms] executing: [/Users/sanekyy/Programs/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/dev
[        ] [        ] executing: [/Users/sanekyy/Programs/flutter/] git ls-remote --get-url origin
[        ] [   +9 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +44 ms] executing: [/Users/sanekyy/Programs/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] dev
[        ] [  +22 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [  +75 ms] Initializing file store
[        ] [   +9 ms] Done initializing file store
[        ] [  +35 ms] invalidated build due to missing files: /Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/lib/carousel_slider.dart
[        ] [+1142 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputMissing, InvalidatedReason.inputChanged}
[        ] [  +10 ms] /Users/sanekyy/Programs/flutter/bin/cache/dart-sdk/bin/dart /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation
--no-link-platform --packages /Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/.packages --output-dill
/Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/.dart_tool/flutter_build/373e1b8301934095dec8eccc9a4090c4/app.dill --depfile
/Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/.dart_tool/flutter_build/373e1b8301934095dec8eccc9a4090c4/kernel_snapshot.d
package:reuse_states_and_render_objects_in_list_sample/main.dart
[+4084 ms] [+4363 ms] kernel_snapshot: Complete
[ +400 ms] [ +302 ms] debug_android_application: Starting due to {InvalidatedReason.inputChanged, InvalidatedReason.outputMissing}
[  +99 ms] [ +134 ms] debug_android_application: Complete
[        ] [  +11 ms] Persisting file store
[        ] [   +5 ms] Done persisting file store
[        ] [   +3 ms] build succeeded.
[        ] [  +10 ms] "flutter assemble" took 6,142ms.
[  +95 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +202 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[  +97 ms] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ +102 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[+1029 ms] > Task :app:packageDebug
[        ] > Task :app:assembleDebug
[        ] BUILD SUCCESSFUL in 9s
[        ] 30 actionable tasks: 5 executed, 25 up-to-date
[ +355 ms] Running Gradle task 'assembleDebug'... (completed in 9.8s)
[  +38 ms] calculateSha: LocalDirectory: '/Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/build/app/outputs/apk'/app.apk
[  +51 ms] calculateSha: reading file took 50us
[ +504 ms] calculateSha: computing sha took 504us
[   +3 ms] ✓ Built build/app/outputs/apk/debug/app-debug.apk.
[   +3 ms] executing: /Users/sanekyy/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/build/app/outputs/apk/app.apk
AndroidManifest.xml
[   +9 ms] Exit code 0 from: /Users/sanekyy/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree
/Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/build/app/outputs/apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.reuse_states_and_render_objects_in_list_sample" (Raw: "com.example.reuse_states_and_render_objects_in_list_sample")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="reuse_states_and_render_objects_in_list_sample" (Raw: "reuse_states_and_render_objects_in_list_sample")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.reuse_states_and_render_objects_in_list_sample.MainActivity" (Raw: "com.example.reuse_states_and_render_objects_in_list_sample.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: intent-filter (line=35)
                     E: action (line=36)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=38)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=45)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +1 ms] Stopping app 'app.apk' on Redmi Note 6 Pro.
[        ] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 shell am force-stop com.example.reuse_states_and_render_objects_in_list_sample
[ +129 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 shell pm list packages com.example.reuse_states_and_render_objects_in_list_sample
[+1072 ms] package:com.example.reuse_states_and_render_objects_in_list_sample
[   +3 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 shell cat /data/local/tmp/sky.com.example.reuse_states_and_render_objects_in_list_sample.sha1
[  +53 ms] 2ab4b34281e36a0d88630ca13f54606789ed55ed
[   +1 ms] Installing APK.
[   +1 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb version
[   +6 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as /Users/sanekyy/Library/Android/sdk/platform-tools/adb
[        ] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb start-server
[   +7 ms] Installing build/app/outputs/apk/app.apk...
[        ] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 install -t -r
/Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/build/app/outputs/apk/app.apk
[+12326 ms] Performing Streamed Install
                     Success
[        ] Installing build/app/outputs/apk/app.apk... (completed in 12.3s)
[   +2 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 shell echo -n 3b32edb6cfd5e37f62672a7d56699386224e055b >
/data/local/tmp/sky.com.example.reuse_states_and_render_objects_in_list_sample.sha1
[  +62 ms] Redmi Note 6 Pro startApp
[   +3 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez
enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
com.example.reuse_states_and_render_objects_in_list_sample/com.example.reuse_states_and_render_objects_in_list_sample.MainActivity
[ +210 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.reuse_states_and_render_objects_in_list_sample/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +407 ms] D/FlutterActivity(14507): Using the launch theme as normal theme.
[   +2 ms] D/FlutterActivityAndFragmentDelegate(14507): Setting up FlutterEngine.
[        ] D/FlutterActivityAndFragmentDelegate(14507): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
[+1002 ms] D/FlutterActivityAndFragmentDelegate(14507): Attaching FlutterEngine to the Activity that owns this Fragment.
[  +83 ms] D/FlutterView(14507): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@4dd9120
[  +37 ms] D/FlutterActivityAndFragmentDelegate(14507): Executing Dart entrypoint: main, and sending initial route: /
[  +60 ms] Observatory URL on device: http://127.0.0.1:38916/qRiUmCsZWAc=/
[   +2 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb -s 3193ac21 forward tcp:0 tcp:38916
[   +9 ms] 52058
[        ] Forwarded host port 52058 to device port 38916 for Observatory
[  +11 ms] Connecting to service protocol: http://127.0.0.1:52058/qRiUmCsZWAc=/
[ +579 ms] Successfully connected to service protocol: http://127.0.0.1:52058/qRiUmCsZWAc=/
[   +3 ms] Sending to VM service: getVM({})
[   +9 ms] Result: {type: VM, name: vm, architectureBits: 64, hostCPU: Qualcomm Technologies, Inc SDM636, operatingSystem: android, targetCPU: arm64, version: 2.8.0-dev.1.0.flutter-fe666ce592 (Tue Jan
14 06:09:04 2020 +0000) on "android_arm64", _profilerMode: VM, _n...
[   +5 ms] Sending to VM service: getIsolate({isolateId: isolates/1608955318940159})
[   +3 ms] Sending to VM service: _flutter.listViews({})
[   +8 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x7270051820, isolate: {type: @Isolate, fixedId: true, id: isolates/1608955318940159, name:
main.dart$main-1608955318940159, number: 1608955318940159}}]}
[   +6 ms] DevFS: Creating new filesystem on the device (null)
[        ] Sending to VM service: _createDevFS({fsName: reuse_states_and_render_objects_in_list_sample})
[  +47 ms] Result: {type: Isolate, id: isolates/1608955318940159, name: main, number: 1608955318940159, _originNumber: 1608955318940159, startTime: 1579343972424, _heaps: {new: {type: HeapSpace, name:
new, vmName: Scavenger, collections: 0, avgCollectionPeriodMillis...
[  +10 ms] Result: {type: FileSystem, name: reuse_states_and_render_objects_in_list_sample, uri:
file:///data/user/0/com.example.reuse_states_and_render_objects_in_list_sample/code_cache/reuse_states_and_render_objects_in_list_sampleSJCMQJ/reuse_states_and_render_ob...
[        ] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.reuse_states_and_render_objects_in_list_sample/code_cache/reuse_states_and_render_objects_in_list_sampleSJCMQJ/reuse_states_and_render_objects_in_list_sample/)
[   +1 ms] Updating assets
[  +57 ms] Syncing files to device Redmi Note 6 Pro...
[   +1 ms] Scanning asset files
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +5 ms] /Users/sanekyy/Programs/flutter/bin/cache/dart-sdk/bin/dart /Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill
/var/folders/hx/klmbwq7j3wx1kzz491c_dt_00000gp/T/flutter_tool.ZSZ3vI/app.dill --packages /Users/sanekyy/Projects/flutter/reuse_states_and_render_objects_in_list_sample/.packages -Ddart.vm.profile=false
-Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root
[   +4 ms] <- compile package:reuse_states_and_render_objects_in_list_sample/main.dart
[+1131 ms] I/flutter (14507): initState: Category 3, Place 3
[  +69 ms] I/flutter (14507): initState: Category 3, Place 1
[   +6 ms] I/flutter (14507): initState: Category 3, Place 2
[  +45 ms] I/flutter (14507): initState: Category 1, Place 3
[  +10 ms] I/flutter (14507): initState: Category 1, Place 1
[   +5 ms] I/flutter (14507): initState: Category 1, Place 2
[  +20 ms] I/flutter (14507): initState: Category 2, Place 3
[   +4 ms] I/flutter (14507): initState: Category 2, Place 1
[   +7 ms] I/flutter (14507): initState: Category 2, Place 2
[+2548 ms] I/flutter (14507): dispose: Category 3, Place 3
[   +2 ms] I/flutter (14507): dispose: Category 3, Place 1
[        ] I/flutter (14507): dispose: Category 3, Place 2
[ +185 ms] I/flutter (14507): initState: Category 3, Place 3
[  +10 ms] I/flutter (14507): initState: Category 3, Place 1
[   +3 ms] I/flutter (14507): initState: Category 3, Place 2
[ +152 ms] Updating files
[ +232 ms] DevFS: Sync finished
[   +2 ms] Syncing files to device Redmi Note 6 Pro... (completed in 4,452ms, longer than expected)
[        ] Synced 0.9MB.
[   +1 ms] Sending to VM service: _flutter.listViews({})
[   +5 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x7270051820, isolate: {type: @Isolate, fixedId: true, id: isolates/1608955318940159, name:
main.dart$main-1608955318940159, number: 1608955318940159}}]}
[        ] <- accept
[        ] Connected to _flutterView/0x7270051820.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Redmi Note 6 Pro is available at: http://127.0.0.1:52058/qRiUmCsZWAc=/
[+2256 ms] I/flutter (14507): dispose: Category 1, Place 3
[        ] I/flutter (14507): dispose: Category 1, Place 1
[   +1 ms] I/flutter (14507): dispose: Category 1, Place 2
[ +237 ms] I/flutter (14507): initState: Category 1, Place 3
[        ] I/flutter (14507): initState: Category 1, Place 1
[   +9 ms] I/flutter (14507): initState: Category 1, Place 2
[+1622 ms] I/flutter (14507): dispose: Category 2, Place 3
[        ] I/flutter (14507): dispose: Category 2, Place 1
[        ] I/flutter (14507): dispose: Category 2, Place 2
[ +255 ms] I/flutter (14507): initState: Category 2, Place 3
[   +5 ms] I/flutter (14507): initState: Category 2, Place 1
[   +6 ms] I/flutter (14507): initState: Category 2, Place 2
[ +323 ms] I/zygote64(14507): Do partial code cache collection, code=61KB, data=45KB
[        ] I/zygote64(14507): After code cache collection, code=61KB, data=45KB
[        ] I/zygote64(14507): Increasing code cache capacity to 256KB
[ +824 ms] I/flutter (14507): dispose: Category 1, Place 3
[ +310 ms] I/flutter (14507): initState: Category 1, Place 3
[ +861 ms] I/flutter (14507): dispose: Category 1, Place 1
[ +356 ms] I/flutter (14507): initState: Category 1, Place 1

```

```
flutter analyze
Analyzing reuse_states_and_render_objects_in_list_sample...             
No issues found! (ran in 1.9s)

```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
flutter doctor -v
[✓] Flutter (Channel dev, v1.14.1, on Mac OS X 10.15.2 19C57, locale en-RU)
    • Flutter version 1.14.1 at /Users/sanekyy/Programs/flutter
    • Framework revision c88320458e (3 days ago), 2020-01-15 11:38:02 -0500
    • Engine revision bc41ab5139
    • Dart version 2.8.0 (build 2.8.0-dev.1.0 fe666ce592)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/sanekyy/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Users/sanekyy/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Users/sanekyy/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Ultimate Edition (version 2019.3.1)
    • IntelliJ at /Users/sanekyy/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[!] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • Redmi Note 6 Pro • 3193ac21   • android-arm64  • Android 8.1.0 (API 27)
    • macOS            • macOS      • darwin-x64     • Mac OS X 10.15.2 19C57
    • Chrome           • chrome     • web-javascript • Google Chrome 79.0.3945.117
    • Web Server       • web-server • web-javascript • Flutter Tools

! Doctor found issues in 2 categories.

```

</details>