Categories
Mastering Development

contact picker causing app crash after i am selecting contact from contact list

I am using Flutter contact picker 0.0.2. But it is giving some weird error. It shows the contact list when i call selectContact Future, however, after selecting a particular contact from the list, the app crashes, and it give below mentioned error on console. I have also tried with adding permission in android, even though […]

Categories
Mastering Development

flutter custom tab indicator under tabs

in flutter i want to have this custom tab indicator under tabs, like with this screen shot in Flutter how can i draw border radius tab indicator like with below image? enter image description here below code can only draw circle indicator which i found in github. TabBar( isScrollable: true, controller: _tabController, labelColor: Colors.black, tabs: […]

Categories
CMS Mastering Development Wordpress

Adding a custom Shipping methods field to an order

I have created a custom filed in a Shipping methods as per: function shipping_instance_form_add_extra_fields($settings) { $settings[‘shipping_extra_field’] = [ ‘title’ => ‘Route Number’, ‘type’ => ‘text’, ‘placeholder’ => ‘1,2,3…’, ‘description’ => ‘Enter route number’ ]; return $settings; } I need to add the router number at the time of order to a order, it can change […]

Categories
Mastering Development

How to make a fixed blurring overlay in Flutter?

I would like to implement this overlay bar This is what i reached lately (i just want to blur the part below the overlay bar portion, everything else is not a problem) The crucial part is that it must blur the screen portion screen below itself. I have no clue about how should i do […]

Categories
Mastering Development

The element type ‘Set

Im try to fetch data when data[index].status is not null value. But its not working, There error with IF STATEMENT. Saying The element type ‘Set’ can’t be assigned to the list type ‘Widget’. how i can fix this error? [![here is image of my code:][1]][1] @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Color(0xFFecf0f1), appBar: […]

Categories
Mastering Development

Flutetr Error whlie ListView displays in App

I get the error in the Listview under the ListItems. The Error in the Terminal: | The method ‘toDouble’ was called on null. Receiver: null Tried calling: toDouble() | But i do not use .to Double in this widget. The Code dont get a Error the Error just shows of in the App on the […]

Categories
Mastering Development

filter contacts by keyword from textfield

I have a page in my flutter app in which I list the contacts in the phone. And I have fetched the contacts and listed them. Here is how I have done that: import ‘package:flutter/material.dart’; import ‘package:contacts_service/contacts_service.dart’; import ‘package:permission_handler/permission_handler.dart’; import ‘package:track_aquintances/screens/addPerson.dart’; class ContactsPage extends StatefulWidget { @override _ContactsPageState createState() => _ContactsPageState(); } class _ContactsPageState extends […]

Categories
Mastering Development

Post request to wordpress rest api in flutter

I am stuck as being beginner. I want to post the rest api request in flutter using wordpress as backend. I can post the request in postman But don’t know how to do this in flutter. As far as i write in flutter app. import ‘dart:async’; import ‘dart:convert’; import ‘package:flutter/material.dart’; import ‘package:http/http.dart’ as http; Future<JwtToken> […]

Categories
Mastering Development

Flutter: SQLIte/ SQFlite updating is not working

I am building an application using Flutter and Dart programming language. I am using SQLite as the local database. Now I am developing a feature where I pass the data to a new form page when one of the items of the ListView is tapped. But updating the data is not working. Please, see my […]

Categories
Mastering Development

Want to print email on the default android drawer but getting some “Closure()” error

**Want to Print Account Email ID on the Drawer ** I am building a Flutter application and I am facing issues to parse the user’s Email ID from the Google Sign-In Method, my app Does Sign in Well using Google Sign in but I am unable to access the user data from user.email function I […]