Category: flutter

The use of the third-party plug-in Flutter chewie for the flutter video player 0

The use of the third-party plug-in Flutter chewie for the flutter video player

[The use of third-party plugins for flutter] player chewie chewie: ^0.9.8+1 portal video_player: ^0.10.1+6 Portal VideoPlayerController videoPlayerController; ChewieController chewieController; @override void initState () { // TODO: implement initState super .initState(); // player.setDataSource( // "https://www.xxx/test.mp4",...

Stack of the basic layout of Flutter 0

Stack of the basic layout of Flutter

Stack means cascading layout, the controls added first are at the bottom, and the controls added later are at the top. [The structure of] Stack is as follows: Stack({ Key? key, this.alignment = AlignmentDirectional.topStart,...

Row of the basic layout of Flutter 0

Row of the basic layout of Flutter

Row means horizontal layout, which can make its sub-controls arranged in a horizontal direction code show as below: class _TestState extends State<Test> { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Container(...

Flutter WebView usage and analysis 0

Flutter WebView usage and analysis

[Flutter] WebView usage and analysis 1. Background In the development process, you need to use WebView to display webpages. In android, you can directly use the WebView control to load webpages. iOS also has...

Flutter’s first program Hello World! 0

Flutter’s first program Hello World!

[Flutter] ‘s first program Hello World! foreword text 1. Download Flutter SDK 2. Environment variable configuration 3. Android Studio development environment Fourth, run the hello_world project 5. Create a Flutter project 6. Flutter engineering...

flutter video playback videoplayer with chewie 0

flutter video playback videoplayer with chewie

In [Flutter] , although video_player is officially provided to play video video_player official website link: video_player | Flutter Package But video_player only has a simple playback function, and the functions of [progress bar and]...