Baseflow / screenrecorder

Flutter package which can be used to record flutter widgets
https://pub.dev/packages/screen_recorder
MIT License
64 stars 30 forks source link

Speed up recording after generating gif #36

Open tudosxxx opened 1 year ago

tudosxxx commented 1 year ago

Added this widget on the videoplay, then recorded, and the final generated gif speeded up

`

SizedBox( width: w-80, height: h-80, child: ListView.builder( itemCount: h~/10 - 8, padding: EdgeInsets.zero, physics: const NeverScrollableScrollPhysics(), shrinkWrap: true, itemBuilder: (context,index){ return SizedBox( height: h/10 - 8, child: ListView.builder( itemCount:w~/10 - 8, padding: EdgeInsets.zero, physics: const NeverScrollableScrollPhysics(), shrinkWrap: true, scrollDirection: Axis.horizontal, itemBuilder: (ctx,ind){ return ClipRRect( child: Container( width: w~/10 - 8,height: h~/10 - 8, color: listcolor[Random().nextInt(listcolor.length-1)], child: Stack( children: [ Positioned.fill( child: BackdropFilter( filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10), child: Text(''), ) ), ], ) ), ); }, ), ); }, ), )

`

tudosxxx commented 1 year ago

41551922 I test,too many widget will speed。

tudosxxx commented 1 year ago

Strangely, it is shown in my app that it is accelerated. Save it to Samsung mobile phone, and the album will open normally. Move to the computer window and open it to see if it is accelerated. Now the web page looks normal.