Spacer in SinglechildScrollView

//Instead of ListView or SingleChildScrollView put CustomScrollVIew to use Expanded or spacer
CustomScrollView(  
          slivers: [
            SliverFillRemaining(
              hasScrollBody: false,
              child: Column(
                mainAxisAlignment: MainAxisAlignment.start,
                crossAxisAlignment: CrossAxisAlignment.center,
                children: [
                Text("Using Expanded and Spacer"),
                Spacer(flex: 2,), //defaults is flex:1
                Text("Inside"),
                Expanded(child: Text("ListView"),)
              ],),
        ),],
      ),
nidal bakir