Skip to main content

Posts

Flutter refresh my screen while some value change in my model

 Problem: Flutter refresh my screen while some value change in my model or in my data.How to achieve that. Solution: In your widget add the below code. Widget build ( BuildContext context ) { return ChangeNotifierProvider ( create : ( _ ) => model , child : Scaffold ( body : Consumer < ViewModel >( builder : ( context , viewModel , child ) { In your viewmodel after change the data call this notifyListeners ();

Flutter common font file for my entire app

Problem:  I want to create one class file that would be useful for text style for my entire app.How to achieve that? Solution: First you have to create a class file that will be as like below. I had used the roboto font to my app.If you pass the color variable with data then it will show with that color. Otherwise it will show default white color. In largeBold i had used font to be roboto bold. class AppFonts { static TextStyle large ({ Color ? color }) { return TextStyle ( fontSize : Constants . largeFont , fontFamily : 'Roboto' , color : color ?? Colors . white , ); } static TextStyle largeBold ({ Color ? color }) { return TextStyle ( fontSize : Constants . largeFont , fontFamily : 'Roboto' , fontWeight : FontWeight . bold , color : color ?? Colors . white , ); } }

FlutterLoader.loadEntrypoint is deprecated. Use "FlutterLoader.load" instead. While run flutter for chrome

 Problem: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead. The above error will show while run my flutter app in chrome. Solution: The error because entry point is not set in your flutter app. < script > window . addEventListener ( 'load' , function ( ev ) { // Download main.dart.js _flutter . loader . loadEntrypoint ({ serviceWorker : { serviceWorkerVersion : serviceWorkerVersion , }, Then replace with below code it will works. window . addEventListener ( 'load' , function ( ev ) { // Download main.dart.js _flutter . loader . load ({ serviceWorker : { serviceWorkerVersion : serviceWorkerVersion , },

Local variable for "serviceWorkerVersion" is deprecated in flutter

Problem:  Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_ version}}" template token instead. See  https://docs.flutter.dev/ platform-integration/web/ initialization  for more details. While try to run my flutter app in chrome it shows the above error. Solution: In script file it shows as like below < script > // The value below is injected by flutter build, do not touch. var serviceWorkerVersion = null ; </ script > Replace with below.It will works fine. < script > // The value below is injected by flutter build, do not touch. var serviceWorkerVersion = "{{flutter_service_worker_ version}}" ; </ script >

Print the file in chrome in android devices || Save the page as pdf in android devices

 Solution: If you are using android devices and opened one file from web and want to save in your device then follow the below steps. 1.In chrome app click the 3dots in top right corner 2.It shows one dropdown with share option also then select that 3.It will show popover below the screen with recent apps and drag the window from right to left.In the end it will show print option.Click that and it will open your default file manager with save as pdf option.Save the file wherever you want.Enjoy...

Share movies android phone to android phone without shareit app

 Solution: Use NearByshare app in your android phone to share movies.It will be share data within few mins. Steps: 1.Select the file to share  2.Goto share options and select nearby share -> open Nearbyshare in other phone -> tap the displayed user in the app.It will send quickly compare to share it. 3.If Nearby share not shown then goto top menu edit option add Nearbyshare and send it..

Show number row in my android phone || show Numbers and alphabets in keypad

Solution: 1. Goto play store using the below link and install the app named swiftkey keyboard app.. https://play.google.com/store/apps/details?id=com.touchtype.swiftkey&hl=en   Open the app click layout and keys..In that option called number row..Set that switch on..In every keyboard you will be had an option that number row...

Share movies from android phone to laptop in share it || share files from phone to laptop || share files from android phone to macbook

Solution: 1. Open share it in your phone. 2.In home screen top right corner four cube icon is shown click on that. 3. In that select option share jio. 4.It will navigate you one screen and shows wifi name and password. 5.Goto your system select that wifi and connect using the password shown in the phone screen. 6.After connected search the files you want to share in your phone. 7.Goto the laptop and open browser and open the below link http://192.168.43.1:2999/ 8. The shared files will be shown in browser.Click the download icon for individual files and download.

Tamilrockers latest website link || latest movies download || tamil new movies download || Tamil rockers link

Solution: The latest link is  http://tamilrockers.ws/ goto browser and paste the below link https://www.proxysite.com/ In Enter Url type the  http://tamilrockers.ws/  site and click go button. Then select the movie that you want to download it will show you utorrent link click and download that and open it with utorrent app and download video.

Export contacts from moto c Plus phone || Transfer contacts from one android phone to another

Solution: 1. Goto contacts app. 2. Select dot menu -> select import/export contacts 3. In top "0 selected" shown.tap on that and select all 4. After that it will show you Export from gmail/sim1/sim2/phone.Select where that contacts are stored. 5.After that you select export to gmail/internal storage. 6.Select internal storage. 7. It will show you that .vcf file stored in the internal storage. 8. Goto File manager and send the .vcf file from your phone to another phone via bluetooth or other options.

Change the mobile data from one SIM to Another in android Phone

Solution: 1.Swipe down the navigation bar of your phone in the top. 2.Long press the mobile data option shown in the top "II".It will navigate you to one screen 3.Scroll to bottom of the screen. 4.It will show you options like "Dial" and "Internet" 5.Select the internet option.Select the sim which you want to activate mobile data. 6. Mobile data activated for that particular sim 

How to add a pattern to my android mobile?

Solution: 1.swipe down the navigation bar on the top of your mobile 2.It will show you settings icon in the right end.Select the icon.Select "lock screen and password" 3.Select "set screen lock" 4.Add your pattern to your own 5.It will show you set your pattern draw your own pattern and click save.Pattern saved

Download whatsapp status in Android || Using Mxplayer how to download whatsapp status

Solution: 1. Goto play store search and download mxplayer app 2. After installing open the app in top it will show you "Local Folders" near by that "more"  option will be there . 3. Click on that it will navigate to your local folder list 4. In top of the screen you had three dot option click on that.It will show you settings.Navigate to settings. 5. Select List option scroll to that it will show you an option "Recognize .nomedia".Select on that it will show you on all the status in the folder sreen with folder named ".statuses" Enjoy to save the status....One more thing that it will be available only the status shown to you in your whatsapp....