| Test | Time (Microseconds) |
|---|---|
| ValueNotifier | 0.14619362615225495 |
| StateNotifier | 0.6242255 |
| Cubit | 1.2855485 |
| StreamController | 1.3412715 |
macOS Mac Mini - 3.2 GHz 6-Core Intel Core i7, running under Flutter Release Mode
| Test | Time (Microseconds) |
|---|---|
| ValueNotifier | 0.14619362615225495 |
| StateNotifier | 0.6242255 |
| Cubit | 1.2855485 |
| StreamController | 1.3412715 |
macOS Mac Mini - 3.2 GHz 6-Core Intel Core i7, running under Flutter Release Mode
Riverpod or Bloc
| /^(?:\+88|88)?(01[3-9]\d{8})$/ |
| import android.text.TextUtils; | |
| import io.realm.Case; | |
| import io.realm.Realm; | |
| import io.realm.RealmObject; | |
| import io.realm.RealmResults; | |
| public class RealmFullTextSearch { | |
| public static <T extends RealmObject> RealmResults<T> search(Realm realm, Class<T> modelClass, String query, String fieldName, boolean partialSearch){ |
| public class CalculatorOp { | |
| private int total; | |
| public CalculatorOp() | |
| { | |
| total=0; | |
| } | |
| public String GetTotalString() | |
| {return ""+total; | |
| } | |
| public void setTotal(String n) |