title: InitState is not working in my child widget
body: <p>I have a parent widget and a child widget which does not hold any state.</p>
  <p>From my understanding, initState function will be called every time before the page is rendered (Correct me if i am wrong).</p>
  <p>So in my case, when i render my parent widget, the initState function in my child widget is not working.</p>
  <p>Can someone please explain why this is the case, and what is the right way to do it?</p>
  <p>My code:</p>
  <pre><code>class HomePage extends StatefulWidget {
     HomePage({Key? key}) : super(key: key);
  
    @override
    _HomePageState createState() =&gt; 
    _HomePageState();
    }
  
   class _HomePageState extends State&lt;HomePage&gt;
      with AutomaticKeepAliveClientMixin {
      int _balanceIndex = 0;
      List&lt;HomeBalanceCardModel&gt; _balanceCardInfos =
         HomeBalanceCardInfos.getMockData();
  
      _onBalancePageChange(index, _) {
       setState(() {
       _balanceIndex = index;
      });
    }
  
  
  @override
  Widget build(BuildContext context) {
  super.build(context);
  return Scaffold(
      body: CustomScrollView(
    slivers: [
      SliverAppBar(
        backgroundColor: Colors.white,
        centerTitle: false,
        pinned: true,
        floating: false,
        snap: false,
        primary: true,
        expandedHeight: 250.0,
        title: HomeAppBar(title: &quot;Banking&quot;),
        flexibleSpace: FlexibleSpaceBar(
            background: HomeBalanceCarousel(
          balanceCardInfos: _balanceCardInfos,
          onPageChanged: _onBalancePageChange,
        )),
      ),
      SliverToBoxAdapter(
        child:
            Padding(padding: EdgeInsets.only(top: 20), child: HomeAdBanner()),
      ),
      SliverToBoxAdapter(
        child:LoanList(),
      )
    ],
  ));
  </code></pre>
  <p>}</p>
  <p>My child Widget:</p>
  <pre><code>class LoanList extends StatefulWidget {
    const LoanList({Key? key,}) : super(key: key);
  
    @override
    _LoanListState createState() =&gt; _LoanListState();
    } 
  
  class _LoanListState extends State&lt;LoanList&gt; {
  
   @override
   void initState() {
     super.initState();
     print('running init state');
   }
  
  
   @override
   Widget build(BuildContext context) {
    return Container(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.start,
        children: [
        _buildTab(),
        _buildList(),
      ],
    ),
  );
  }
  }
  </code></pre>