Posts

Showing posts from April, 2021

Connect Thermal printer and print using Flutter App

Image
Packages we will be using to connect and print through Thermal Printer using Flutter App bluetooth_thermal_printer   to connect with Thermal Printer esc_pos_utils  package to print receipts Image  to print images Step 1 import 'package:bluetooth_thermal_printer/bluetooth_thermal_printer.dart' ; import 'package:esc_pos_utils/esc_pos_utils.dart' ; Step 2 Get your Thermal Printer mac address ready You can get it under bluetooth in your Phone or print a test page through printer. Call this Function Future< void > connectThermalPrinter (String mac) async { print(mac) ; result = await BluetoothThermalPrinter. connect (mac) ; if ( result == "true" ) { setState(() { connected = true; }) ; } } ...

Flutter package to get Instagram user details

Image
Flutter package to get Instagram user details and download reels videos. It is very essential package if you are integrating instagram details of any user. Get Instagram details of User by profile url Flutter. We can get any instagram user details like profile image url , followers count, following, instagram feed images urls, instagram bio. How to Use  import 'package:flutter_insta/flutter_insta.dart' ; Get profile details  FlutterInsta flutterInsta = new FlutterInsta(); await flutterInsta.getProfileData( "coding_boy_); //instagram username Use instagram profile details  # print ( "Username : ${flutterInsta.username} " ); print ( "Followers : ${flutterInsta.followers} " ); print ( "Folowing : ${flutterInsta.following} " ); print ( "Bio : ${flutterInsta.bio} " ); print ( "Website : ${flutterInsta.website} " ); print ( "Profile Image : ${flutterInsta.imgurl} " ); print ( "Feed images" :${flutterInsta.f...