Category : dart

Guys can you help me replacing the picture background (bg.jpg) with a video in mp4? any Flutter professional please? import ‘package:video_player/video_player.dart’; class Login extends StatelessWidget { static const your_client_id = ‘000000000000’; final FirebaseAuth _auth = FirebaseAuth.instance; static const your_redirect_url = ‘https://xxxxxxx.firebaseapp.com/__/auth/handler’; final GlobalKey<ScaffoldState> _scaffoldKey = new GlobalKey<ScaffoldState>(); @override Widget build(BuildContext context) { return WillPopScope( child: ..

Read more

when i add admob to my app, i got this messages on my console, it doesn’t stop and it’s a little bit annoying. Someone can explain me why ? is it serious ? My flutter doctor result : Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel beta, 1.26.0-17.6.pre, on Microsoft ..

Read more

I am creating an UI which contains 5-6 polygons on the page. I inserted 2 of them. But when i try to move them using Align(), its not moving at all. Here is the code of mine: import ‘package:flutter/material.dart’; import ‘package:online_schedule/bottomRightCorner.dart’; // import ‘package:online_schedule/clipShadowPath.dart’; import ‘bottomRightCorner.dart’; import ‘middle.dart’; void main() => runApp(MaterialApp(home: MyApp())); class MyApp ..

Read more

I want to access the flutter activity’s decorView in my native code. I created a plugin which give me access to the apis in the android native code. One of the api is public void setActivity(Activity activity){ Log.d("ActivityFromFlutter", activity.getLocalClassName()); … … } I am using it like this in my flutter plugin: private void setupPlugin(Context ..

Read more