fabiochiu/medium-articles huggingface dataset:
Energy Consumption Prediction
By: Ai Technology
Tags: Deep Learning, Tinyml, Artificial Intelligence, Machine Learning, IoT

Energy Consumption Models are needed for Energy Conservation and they serve as the basic building blocks of Smart Buildings and Smart grid Systems.With the help of Deep Learning we can predict the energy consumption and deliver only that much energy which is needed and hence contribute towards energy conservation.

Table of Content

Introduction to cAInvas

Source of Data

Data Visualization and Preprocessing

Model Training

Introduction to DeepC

Compilation with DeepC

Introduction to cAInvas

cAInvas is an integrated development platform to create intelligent edge devices.Not only we can train our deep learning model using Tensorflow,Keras or Pytorch, we can also compile our model with its edge compiler called DeepC to deploy our working model on edge devices for production.The energy consumption model is also developed on cAInvas and all the dependencies which you will be needing for this project are also pre-installed.

cAInvas also offers various other deep learning notebooks in its gallery which one can use for reference or to gain insight about deep learning.It also has GPU support and which makes it the best in its kind.

Source of Data

While working on cAInvas one of its key features is UseCases gallery. Since the Energy Consumption Detection model is also a part of cAInvas gallery now we don’t have to look for data manually.We can load the data in a dataframe by using pandas module, we just have to enter the following commands:

Energy consumption dataset

Running the above command will load the data in a dataframe which wewill use for model training.

Data Visualization and Preprocessing

Next step in the pipeline is to visualize some of the features in our dataset and pre-process our data for better training results. Pre-processing step involves dropping the null values or the NaN values, drop the columns from our dataframe that do not participate much in model training and scale our data for faster and better training results. For visualization step we will have have a look at the Mean and Standard values of some columns of the dataset and we can do that by plotting a graph. For example we can have a look at the graph plotted for Mean and standard of Global active power:
Internet of Things (IoT) Demystified.
By: Dr Mehmet Yildiz
Tags: Writing, Internet of Things, Technology, Self Improvement, IoT

Internet of Things (IoT) Demystified.

As a technologist with four decades of experience, I feel obliged to simplify Internet of Things (IoT) and make it known to more people. IoT is critical in our lives and will be more and more important in the future. IoT is fundamental building blocks of artificial intelligence. Some of us are already using IoT devices at home and at work.

Even though this article is technical and aims to provide an overview to technology leaders and entrepreneurs, I attempt to make it as simple as possible for my readers to understand the concept, mechanism, and its parts.

My goal is to introduce IoT (Internet of Things) ecosystem based on a model that I developed as part of my solution architecture engagements in multiple successful projects in large business organizations.

I used the metaphor of an ecosystem as the IoT looks like a biological system with many dependencies.

In this article, I set the IoT solution context at a high level.

You can follow more of my stories from my profile.
The age of autonomous transportation
Tags: Robotics, Artificial Intelligence, Autonomous Vehicles, Self Driving Cars, IoT

Today is the beginning!

Here are the first 10 chapters, with the related 96 Companies

Apollo

Argo AI

Aurora

AutoX

Cruise

Oxbotica

Tesla

Voyage

Waymo

Zoox

AImotive

Dataspeed Inc.

Didi

Ford

Mobileye

Motional

PonyAI

Renovo

StreetDrone

Yandex

Einride

Embark

Peloton

Plus.ai

Starsky Robotics

Tesla

Torc Robotics

TuSimple

Volvo Trucks

Waymo

2getthere ZF

Apollo

Aurrigo

Coast Autonomous

Cruise

EasyMile

Hochbahn

Navya

Local Motors

Sensible 4

Amazon

FedEx

LMAD_EU

Neolix

Nuro

StarshipRobots

Udelv

Yandex

Aurora

Autox

Dataspeed

Phantom Auto

Renovo Auto

Torc robotics

Voyage

Waymo

AEye

Benewake

Blickfeld

Cepton

Innoviz

LeddarTech

Luminar

Quanergy Systems

RoboSense

Velodyne Lidar

aeva

Hesai

Ibeo

Ouster

LivoxTech

Lumotive

MicroVision

Sense Photonics

SICK

XenomatiX

Airobotics

Drone Delivery Canada

Elroy Air

Flytrex

Matternet

ParaZero Drone

Percepto

Skydio

SkyX Systems

Zipline

AirspaceSystems

Altitude Angel

Amazon

Azur Drones

DroneUp

Iris Automation

Sabrewingair

Ups

Wing

XSun
Introducing CloudCity Family’s!
By: Armand Jr Brunelle
Tags: Web3, Security, Apps, Dapps, IoT

CloudCity is a Cloud instance manager, currently building up a family of Apps (Applications) and Dapps (Decentralized Applications) securing the Web3 and removing barriers, simplifying your digital presence anywhere in the world, giving you an instant access to your assets.

CloudOne is a Natural Language Processing NLP Voice activation on the first protection layer

CloudID is a digital Fingerprint ID physically activated on the second protection layer

Both combined -> CloudOneID

From there, we have build a unique and secured digital ID to make it easier for everyone to connect to the Web3 and many applications or Software.

AURA

Your AURA of Protection

…To be continued

CloudCity (@CloudOneID) / Twitter
INTERNET OF THINGS
By: Priyanka Patil
Tags: Web Development, Software Development, Development, App Development, IoT

Advantages & Disadvantages

Advantages

It uses mobile wireless network it offers better scalability, quality of service and security.

It offers long battery life due to low power consumption or current consumption.

It offers extended coverage compare to GSM/GPRS systems.

It transmits data at low bit rates over long distances. The range is better than GSM and LTE.

NB-IoT modules are expected to be available at moderate costs.

They offer better penetration of structures and better data rates compare to unlicensed band based standards.

Disadvantages

It offers lower data rate (about 250Kbps download and 20Kbps upload) compare to LTE cat-M1. The bandwidth is about 200 KHz. Hence it is ideal to use NB-IoT for stationary devices.

It does not support VoLTE (Voice Over LTE) for speech transmission. Hence voice transmission is not supported.

They offer better penetration of structures and better data rates compare to unlicensed band based standards.

Applications of NB IoT

Smart Parking Solutions

Smart Cities

Smart Environment

Smart Metering

Smart Health Monitoring

Smart Tracking

Glansa is a globally recognized for its Business and Technology Solutions.We provide all the cooperate solutions i.e., Designing, Development, Branding through a deep industry experience and help the clients to create successful and adaptive Business !!
Flutter ile Aim Master Oyunu yapalım
By: Kadir Bekar
Tags: Dart, Mobile App Development, Flutter, Mobile

kadirbekar/aim_game_flutter

Contribute to kadirbekar/aim_game_flutter development by creating an account on GitHub.
FlutterForce — #Week 101. Weekly Flutter Resources
By: Ümit Duran
Tags: Dart, Flutter Ui, Flutter Widget, Flutter App Development, Flutter

- Episode 437: Tim Sneath on the Architecture of Flutter

Tim Sneath, product manager for Flutter and Dart at Google, discusses what Flutter is, why it was created, and where Dart came from, as well as what the different layers of Flutter are and why it’s so popular.

Host Gavin Henry spoke with Sneath about the “Architecture of Flutter,” what cross-platform development is and platforms supported, Dart, FFI, platform channels, threading, widgets, android, iOS, Windows support, web support, dart to javascript, why it’s different as well as what the future holds for Flutter, how big the team is at Google, and how widely it has been adopted within Google.
Flutter — Data Persistence with SharedPreferences (in JSON)
By: João Soares
Tags: Json, Flutter, Sharedpreferences, Data Persistence

So you want to save your data permanently on your Flutter App but you don’t want to use a database?

That’s where the SharedPreferences package comes in. You can save key pair values in String format, but that’s not the only thing you can do. You can save data in JSON format, which is a lot more useful. How can I do that, you ask? Well, let’s find out.

Interested in more Flutter articles? https://morthor.medium.com/flutter-animatedlist-sizetransition-dismissible-dce49c11200d

Installing the package

Visit pub.dev to find the latest version of the SharedPreferences package and copy it into your pubspec.yaml. Don’t forget to run flutter pub get to install your new package. If you already had your app running, you may need to rebuild it:

Importing the package

Once you have it installed, you should make sure it’s imported in the file that you need it in:

Using the package

You need to declare and instantiate SharedPreferences in the class you need to use it in. I would advise you to use a StatefulWidget to be able to instantiate it only once in the initState override and re-use it as needed.

Because SharedPreferences needs an async call to get it’s instance, you need use a separate method and call it from initState:
Two Integrated Smart Education Apps (COVID -19)
Tags: Dart, Firebase, Android, Android App Development, Flutter

Smart Education based Apps created on Android Studio using Flutter with Firebase

Guruskool and Scholars App are the names of the Apps which are integrated together by same Database (Firebase) using Dart Programming Language developed using Flutter SDK on Andriod Studio

Features of Both Apps (Beta and Advanced Versions)

ADMIN APP (TEACHER): Guruskool App

Preview of Teacher App with Logo

Build Mobile-Based Applications for both Teachers and Students that are connected with each other in which Data such as PDFs, Images, PPTs, Video and Audio can be shared easily within particular Classes so that Students can solve their Tests, Assignments

sharing of notes, study material and much more. And, the teacher can get the data of a particular class in a defined way and well-defined manner.

FRONTEND INTERFACE :

Admin App

Users App

Both applications are developed and designed on the Android Studio IDE through Google Flutter UI kit.

Flutter is an open-source mobile SDK developer can use to build native-looking Android and iOS applications from the same code base

BACKEND INTERFACE :

Firebase: Firebase is a Backend-as-a-Service (Baas). It provides developers with a variety of tools and services to help them develop quality apps, grows their user base and earns the profit. It is built on Google’s infrastructure

Code of main.dart which has the logo and loading SpinKit as shown in both images above (Same for both Apps with different Logo Images)

main.dart for Preview Screen of both the Apps with Logo and Loading Spinkit

2. Code of googlesignin.dart which has the Google SignIn Button that adds the user Email to the Firebase Authentication as shown in the images below (Same for both Apps with different Logo Images)

Code of the SignIn Screen: googlesignin.dart

Google Sign In Button Code connected with Firebase Authentication

Home Screen of Teacher’s App with Class Buttons and Sign Out Button

HomeScreen of Teacher’s App with Class Buttons and Sign out Button

Code of home.dart Screen
Install Flutter and Setup VS Code for Cross-platform App Development on macOS
By: Dhananjayan P N
Tags: Mac, Vscode, App Development, Install, Flutter

Setting up an IDE for Flutter

Now that we have Flutter installed, we need a code editor to help us develop apps using Flutter. A quick google search will yield a variety of code editors, but I recommend installing Visual Studio Code. It is the most popular code editor among programmers, mainly due to its simplicity and lightweight nature. It also offers AI auto-completion and other awesome features. Follow the instructions on their website to get it installed on your system. Once you have it installed, come back here to see how we can set it up for Flutter development.

Startup VS Code

Go to the Extensions tab, from the Activity bar on the left

In the Search box, type ‘Flutter’ and you should see a ‘Flutter’ extension in the results with 1.4 million downloads

The green ‘Install’ button isn’t there on mine as I’ve already installed it

Click on the green ‘Install’ button next to it, to add Flutter support to VS Code

Do the same for ‘Dart’, as this adds VS Code support for Dart language, the programming language used to build Flutter apps

That’s all folks! You are now all set to build stunning cross-platform apps using Flutter and VS Code, right on your Mac.

Give this article a Clap if you liked it and share it with anyone looking to get started with Flutter on their Mac! Good luck!
Flutter ile Haber Sitelerinden Rss Yardımıyla Haberleri Çekme
By: Nafi Durmuş
Tags: Flutter Türkçe, Rss Veri Çekme, Rss Feeds, Flutter Rss Kullanımı, Flutter

rss_page.dart

Instantly share code, notes, and snippets. You can't perform that action at this time. You signed in with another tab…
Flutter 學習筆記-003
Tags: Flutter

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Flutter: Keyboard & Mouse Support for Web
By: Vinay Shankri
Tags: Flutter Ui, Flutter App Development, Flutter Widget, Flutter Web, Flutter

tl;dr

I am working on a Flutter project primarily for the Web (of course, supported on devices as well). Keyboard and mouse actions are an absolute must and an MVP (minimal viable product). I want to share how have I used FocusableActionDetector to support both the keyboard and mouse.

For a quick overview just refer to the ‘Sample App’ & ‘Screen Recording’ sections below.
Working with Paginated REST API: Flutter and Django.
By: Chetan Verma
Tags: Rest Api, Flutter, Django Rest Framework

Introduction:

If you are a Flutter developer-facing some troubles with integrating a Paginated REST API or a Django developer confused and want to integrate Pagination in your REST API, then this article is just for you. In this blog, we’ll

Create a Paginated REST API using the Django Rest Framework.

Load the REST API data with a simple Frontend UI using Flutter Framework.

So let’s get started.

Why use a Paginated API?

In this digital world, the usage of APIs has never been so crucial than ever before. With loads and loads of data being transferred through APIs, we definitely need a much more efficient way when dealing with them especially when they are carrying large amounts of data.

API pagination is just the right method for you.

Whatis.techtarget.com defines ‘Pagination’ as the process of separating print or digital content into discrete pages.

This is exactly what we do with API pagination. We divide the contents of API into discrete pages.

Setting up the project

I am skipping initial setup of installing Python3 and Django framework. Let’s just focus on creating the project. You can find overall setup instructions (here)

django-admin startproject Api

python manage.py startapp paginatedApi

But before we proceed to make changes in our app, let’s go to the project settings.py and urls.py.

Django provides a few classes that help you manage paginated data — that is, data that’s split across several pages, with “Previous/Next” links. — Django documentation

In this project, I am using Limit Offset Pagination class and I have defined it globally as shown in the above code.

Note that you need to set both the pagination class, and the page size that should be used. Both DEFAULT_PAGINATION_CLASS and PAGE_SIZE are None by default.

Once we’re done with this easy stuff let’s dive into the main code and create our models.py file:

Before writing our view we first need to define our serializers.py. We add serializers when dealing with REST framework because it allows complex data such as querysets and model instances to be converted to native Python datatypes that can then be easily rendered into JSON , XML or other content types.

Now the main part comes, ‘views.py’.

For the views, I am using Django’s Generics views.

Django’s generic views were developed as a shortcut for common usage patterns. They take certain common idioms and patterns found in view development and abstract them so that you can quickly write common views of data without having to repeat yourself.

Boom!😎 We’re done. Yes, we have created a Paginated REST API just like that.

(Don’t forget to run migrations y’all).
Flutter 學習筆記-001
Tags: Flutter

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Flutter Query Field
By: Sergey Yamshchikov
Tags: Flutter Widget, Flutter Ui, Flutter

Search is one of the most used feature within apps available on the market. And there dozen of implementations:

Flutter has number of widgets which make it easy to implement. But most of them incorporate search result list and I haven’t found any for iOS. And what I wanted was:

Search field similar to TextField (just a widget, not an additional screen, no predefined result list)

(just a widget, not an additional screen, no predefined result list) Material and Cupertino styles

Platform Widgets support

Material and Cupertino search fields not that different from internal perspective, both have dismiss button and clear text button, for both the buttons appears only when the field has focus or not empty. Material search usually has additional controls (e.g. profile button, voice input, e.t.c). And Cupertino has fancy animations involved in appearance of the buttons.

I’ve tried to follow the guidelines and mimic behaviour from Google and Apple, and came up with this:

And I decided to share it as a library .

It has: light mode, dark mode, material and cupertino styles, and PlatformQueryField to allow your app automatically decide which widget is appropriate for current platform.

Happy coding
hellow sir am new to this field can u suggest me to a course /ttrial where i can learn how to use…
Tags: Android App Development, iOS App Development, Flutter

hellow sir am new to this field can u suggest me to a course /ttrial where i can learn how to use source code i donloaded a zip file but i don’t how to start modify
Flutter 學習筆記-002
Tags: Flutter

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Polynomial Regression in Flutter
Tags: Polynomial Regression, Dart, Linear Regression, Flutter, Machine Learning

A simple implementation of polynomial regression of order 2 in Flutter

The theory is very well explained here.

The matrix form co-efficient of Polynomial Regression of order m is shown as below

Incase of Quadratic regression or Polynomial regression with m=2 it becomes —

I am using the linear algebra package linalg for this purpose.

I defined a function that will take a list of y values. x values will be taken from 0 to (length of the list -1) and also a list of x values for prediction.

// input = [20, 32, 40, 34, 56]

// imput is basically (0,20),(1,32),(2,40),(3,34),(4,56)

// predictionFor = [5, 6]

output

[61.6, 72.0]

That's it.✌
With this case you can try this plugin https://github.com/gfaraday/g_faraday
By: Gix Gong
Tags: Flutter

With this case you can try this plugin https://github.com/gfaraday/g_faraday
Stateful Widget Vs. Stateless Widget
By: Hirudini Udugama
Tags: Flutter App Development, Flutter Widget, Statelesswidget, Statefulwidget, Flutter

This is the eleventh article of the Flutter series. Today we are going to learn on Stateful widgets.

Let’s see what is “state”. The state is information that can read synchronously when the widget is built and might change during the lifetime of the widget.

Classes that inherit “StatefulWidget” are immutable. But, the state is mutable.

Super class is StatefulWidget and generic class is State.

Stateful Widget

· When a widget changes (user interact with it) we call it as “Stateful”.

Eg: Checkbox

RadioButton

Form

TextField

· Overrides the createState() and returns a State.

· Use when the user interface changes dynamically.

· When the widget’s state changes, the state object calls setState(), telling the framework to redraw the widget.
Controller Pattern on Flutter
By: Jimmy Leo
Tags: Android, Flutter

I am Jimmy lau, I am an Android developer. Flutter got popular this day so my company decided to do a little project on Flutter. I started learn flutter in recent days.

I am here to talk about a specific method which I found it is really common on Flutter -> Controller 😊

If you had experience on Android, you must be familiar with the declarative programming.

View view = View();

view.target = 666;

Here is a quick sample of how Android modifies field inside your view.

But Flutter as we know is reactive programming (everything is a widget 😊)

We do not modify your widget directly in this way.

Widget widget = SmallWidget();

widget.height = 123;

The code above obvious doesn’t work, widget does not give you the access to control view property, it is just a wrapper for Element.

Also the attributes inside your widget in immutable.

What we can do is do some hacking on Element, which is your buildContext

context.findRenderObject().size.height

Element object has a reference of its renderObject, you can get something like widget size or some other object related to rendering view.

Well, for developer, if we want to change attribute on your StatefulWidget, you can simply call setState() , it tells the flutter framework to rebuild your widget.

But what if we have a complex widget tree and the widget we want to target is too deep on the widget tree ?

Controller is here to help.

...

ScrollController _scrollerController = ScrollController(); child: ListView(

controller: _scrollerController,

... )

We must write this code really often.

We can add a listener callback every time a specific event happened inside the widget or we can change attribute in their widget directly through controller.

For instance

_scroller.initialScrollOffset = 0;

This is super flexible if you are writing a flutter library and you want your users to dynamically control something in your widget.

Here is a simple sample for controller pattern.

class ChristmasTree extends StatefulWidget { final Colors color; ChristmasTree({this.color}); @override State<StatefulWidget> createState() { throw UnimplementedError(); } } class TreeState extends State<ChristmasTree> { @override Widget build(BuildContext context) { return Container(); } }

We have a statefulWidget only with a color attribute on it.

What if we want to modify the color outside ?

We add a controller on it.

class ColorController { ValueChanged listener; void initState(ValueChanged listener) { this.listener = listener; } void changeColor(Color color) { listener (color); } }

Add controller as parameter

final ColorController controller; ChristmasTree({this.color, this.controller}); ...

@override void initState() { listener = (color) { setState() { this.color = color; } }; widget.controller.initState(lisnter); }; super.initState(); }

Finally, if we want to change color outside, we can simply call the controller !

TreeController controller = TreeController();

controller.changeColor(Colors.green);

That’s it ! Thank you for reading. If you like this article, please clap for a second, I would continue to publish flutter article like this.
Flutter (Day 1) — The Not So Wild Beginning
Tags: Dart, Flutter, Programming

I’ve been working in Flutter for a few years now — recreationally that is. I’ve made a few simple applications, but always lost steam when I got stuck at a new feature. That’s all Flutter really is, a coding language where it is easy to implement new features through these things called “WIDGETS”.

You want to add multiple language-choice to your app? Use a localization widget. You want to add animations to your app? Use a simple_animations widget.

IT’S THAT EASY!!!!!! … But I still get stuck ‘:D.

I’ve seen a bunch of people do something similar to this, basically, a journal of their progress in creating an app. So if you haven’t guessed it already, that is what I am going to do here!

Basically, I want to create an app and document each part of it. From creating the app, to adding a darkTheme function, to dataBases and ads. Hopefully by doing this, I will be able to really get into the nitty-gritty of each part of the creation process.

The idea of the app is a Thirty-day goal tracker. It’s a really simple idea XD, but I think it’s something that we can do to try out a bunch of different features. (The name of the app is… Get this XD “THIRTY”, I know right, I am so creative).
Day night map for flutter
By: Billy Leverington
Tags: Worldtime, Custompainter, Timezone, Flutter

This is an implementation of a widget that shows the times of cities across the global, over laid with a day night map showing what parts of the global are in day, and which parts are in night.

To make it a little more interesting to look at, a timer is running that’s adding 30 minutes to the date every 100ms. Here is what it looks like running.

To work out the times in different cites across the world you need to know what timezone they are in and if they have day light time savings or not. Fortunately there are a couple of libraries that we can make use of to make this a breeze.

The first library is lat_lng_to_timezone, which takes the latitude and longitude of location and returns its timezone.

With the timezone, we can use another library called timezone, that uses the IANA time zone database to give us a time.

With these two libraries we can get time anywhere if we have the location.

The code defines a city class that takes the name and the location of the city and provides a function to update its time.

The day night map takes a list of cities and a date. In the build it uses the date to build the day map path. The path is calculated separately so it can be used as a clip path to draw the earths night image instead of an overlay. This code draws it as an overlay along with the list of cities and the times in each city using a CustomPainter.

The CustomPainter scales the path and the cities locations to map them to the viewport size.

To calculate the the day/night overlay map some code written by J.Giesen in javascript has been converted to Dart.

It works by calculating the day night map across 360x180 positions based on the date and time. Using these positions we can draw a bezier line from point to point, then completing the path to create fill.

The full source is available here.
Flutter (Day 2) — Creating The App
Tags: Dart, Flutter, Programming

I know when starting to code everything can seem so daunting. “What programs do I need to download?” “What repository system should I use?” But Flutter is really simple. Here are the only things that I have downloaded, this is all you need in my opinion:

GitHub is perfect for keeping track of everything you code, I won’t go to deep into this though.

Visual Studio Code and the Flutter package go hand in hand. When you install both of these, go to the “Extensions” page in VSCode, type in “Dart” and “Flutter”. Install both of these extensions and you are good to go.

Okay! Now you should have the coding environment setup, which is perfect! The last thing that we have to do is create the app. Click the “View” button at the top > “Command Palette” button from the menu > Type in “Flutter” > Click the option for a new application. That’s it! This is another reason why I love Flutter so much, it is incredibly easy for someone to get started coding.

This is what it should look like. A lot of these commands are really really helpful, but for right now we are just going to use the “Flutter: New Application Project” one.

Now we have everything setup, so next we can start laying out and coding :)!
Support null Safety and development Flutter web and desktop apps
By: Saeed Golshan
Tags: Null Safety, Flutter, Flutter Web

As you know Dart (and Flutter) announced null safety preview in Jun and then in November, announced Dart (and Flutter) beta support null safety. Wow🎉👍 that’s so cool! All of us know null safety can be so helpful in debugging and even running code faster, as mentioned in introduction video

But what would happen for those of us who sometimes tested web and desktop version of apps? Because there is so many library on pub.dev that we have used in our apps and they don’t support null safety yet, when you want to change your flutter channel to beta and compile web edition of your app you’ll see huge of :

Error: Null safety features are disabled for this library.

Photo by Kai Pilger on Unsplash

There is a simple way to solve this. You can download earlier version of flutter from the flutter.dev but changing channel won’t help you anymore as a simple command. Thank’s to Sarbagya Dhaubanjar there is a solution that you can have multiple version of flutter at the same time with making alias of flutter.

If I want to tell you briefly how making alias of flutter, you should download Flutter beta version 1.23.0–18.1.pre (Because dart null safety has supported versions after this one) and put that in development folder with name flutter_beta.

For Mac os and Linux add this line to .bashrc or .zshrc:

alias flutterb='~/development/flutter_beta/bin/flutter'

for Windows you have to make a flutterb.bat file and add this line to bat file:

and add the bat file path to PATH variable of windows. (more detail)

After that you can use this commands:

flutterb doctor -v flutterb build web flutterb run -d chrome

Cheers 🎉🎊 you made it!

But after that you have made, there is a minor problem that every Flutter SDK alias you made, will download and cache the pub.dev library separately and it will waste both your time and your storage. Don’t be sad dart team doc will help us to solve this problem. For this purpose you just need to make a pub-cache folder in development folder that you have created before.

For mac os and linux add this line to .bashrc or .zshrc:

PUB_CACHE=~/development/pub-cache

For windows you just need create PUB_CACHE variable in Environment variables with this path:

C:\Development\pub-cache\

And Done! You can do it for every dart version too you just need use these lines to your files:

#Mac os and linux users

alias flutterb='~/development/flutter_beta/bin/dart'

off

C:\Development\flutter_beta\bin\dart %* #Windows users @echo offC:\Development\flutter_beta\bin\dart %*

Photo by Jackson Simmer on Unsplash

At the end I want to invite you to a challenge helping the library makers on pub.dev with #100_null_safety_support. You can help the libraries that you have used in your projects with Migrating to null safety guidance and solve 100 null safety error of them. We know null safety will help us to debug codes easier and this challenge can help you get more familiar with null safety coding. Share your help on comment and invite your friends to this challenge.

Best regards
How to solve “ There are multiple heroes that share the same tag within a subtree.” in a flutter project
By: Nwokocha Wisdom Maduabuchi
Tags: Flutter Ui, Flutter App Development, Flutter Widget, Mobile App Development, Flutter

In this short article, I will explain how I solved a bug that looked like it will not go off 😂😂😂😂😂.

I was very happy trying out Flutter because it is easy and fast to build a huge app with less stress, but as we all know bugs are always around to give us a hard time. In my design, I have a Bottom NavBar(4 navbars) with Three FAB(Floating Action Button) on each screen. I never knew that Flutter has an Attribute called “heroTag” and it must be unique. to cut the long story short, I ran the code I got the error below:

And also when navigating to that screen I will be presented with a black screen like the image below.

The solution is to add “heroTag” attribute with unique names to the three FAB’s

floatingActionButton: FloatingActionButton(

onPressed: () {},

tooltip: 'Add',

heroTag: 'contact',

child: Icon(Icons.add),

backgroundColor: Colors.redAccent,

),

Thank you for reading my article.

Let’s connect on

Twitter: https://twitter.com/Joklinztech

LinkedIn: https://www.linkedin.com/in/wisdom-nwokocha-76212a77/
Flutter Monthly #2020/12
By: Flutter Taipei
Tags: Dart, Newsletter, Flutter

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
The Classified File
By: Zishanul H. Hussain
Tags: Suspense, Flash Fiction, Storytelling, Short Story, Fiction

The man sitting across him introduced himself as an employee of the Port Trust of India. His name was Srikant. He was a jovial fellow, kept talking about his places of postings across the country. He spoke about his good connections with the officers in the Indian Railways and that a clerk would bring his dinner at the next station, which he would be happy to share with Amit.

When the train arrived at the station, Srikant went to the door to get the food.

The train left the station, but he didn’t come back.

Suddenly, Amit realized that his handbag was gone!
Should Be Easy To Find
By: Parzival Sattva
Tags: Flash Fiction, Psychic, Microfiction, Lost Item, 100wordstory

Prompts = Ease, Canister, Seer

Photo by Wyron A on Unsplash

‘What do you see, Mistress Rosa?’

The crone glared mystically from across the small table.

‘There is a space that calls to me, somewhere within a house with a gardenia garden.’

‘That’s my house, I think. The wife likes gardenias. Not as much as roses, mind, or tulips, or…’

‘The spirits speak. You must listen. A dusty box holds what you seek.’

‘But I looked in them all.’

‘A trunk, perhaps?’

‘Don’t think so…’

‘A safe?’

‘Ummm…’

‘A canister?’

‘Maybe?’

‘Yes. The spirit calls from a canister. The echo at first confused me. Good luck in your search. Next customer.’

Links to other sites where I publish:

Instagram = https://www.instagram.com/one_hundred_words_by_parz

Facebook = https://www.facebook.com/Parzival-Sattva-427507144484255

Blogger = https://onehundredwordsbyparz.blogspot.com

Medium = https://medium.com/100-word-or-less-stories

YouTube = https://www.youtube.com/user/parzivalsattva

And a link to where my Lovely Lady Love (who also operates the camera) posts her art: https://www.youtube.com/user/recyclinggoddess

Join in on the fun of making a story from the same prompts I do! https://www.facebook.com/groups/565109053911712
Hi Ryan M. McLaren, you’ve been added as a writer. Our latest (deadline is around 7 PM CEST Thursday). https://medium.com/microcosm/weekly-writing-prompt-resistance-1599e70b206c This week the word…
By: Zane Dickens
Tags: Flash Fiction, Writing, Writing Prompts, Short Story, Fiction

Welcome to Microcosm!

Hi Ryan M. McLaren, you’ve been added as a writer.

Our latest (deadline is around 7 PM CEST Thursday).

This week the word count is a strict 50 — looking forward to your stories!
Bedtime
By: Mark Farrar
Tags: Flash Fiction, Short Story, An Unruly Child, Resistance, Fiction

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more
Fiction and philosophy is my breadcrumb trail in life.
By: Lone Brinkmann
Tags: Flash Fiction, Short Story, Writers On Medium, Short Form, About Me

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
A Beast’s Farewell
By: R. B. Sheehan
Tags: Suspense, Mystery, Flash Fiction, Short Story, Fiction

Photo by Josh Hild on Unsplash

Why am I doing this? she asked herself with an icy sigh. Does he even deserve it? Her numb fingers fought to maintain their waning grasp on the frozen rope as it writhed for freedom. She realized she should’ve questioned this task long before it began.

Braving winter’s wind atop a ten-story parking garage, she stood in wait, wondering, Is it too late to back out? Then without warning, her heart lurched at the sound of his disembodied voice piercing the twilight fog.

From his hazy end of the noose, he begged her, “Please! Whatever you do, don’t let go.”

She never wanted to let go of something more in her life. “I won’t,” she replied with not-so-subtle hesitance. She hadn’t expected to be in that position, but there she was, far too involved to escape. What will people think of me? Qualms continued to creep through her mind as her toes turned to ice. What will my parents say when they find out what I’ve done?

He, too, was struggling. His troubles weren’t with opinions or freezing temperatures but with his desire for happiness, for love, for life. He was unable to recall the last time he felt anything of the sort. Ages of fighting this solitary beast on his own left him desperate; he couldn’t take it any longer.

He finally found someone, skeptical but willing, and brought her here. He needed help with his demon, as it was beyond his strength to conquer alone. With no remorse for his neglected responsibilities, he finished tying his knot.

I’m just happy she agreed to this, he mused as he wrestled with the fiend once more. After all his suffering, after months without hope, he knew the time had come. “Okay, I’m ready!” he shouted. “Are you ready?”

Though reeling with disbelief, deep down, she began to feel the pull of a shameful pleasure. Her fear of a new thrill faded. Fuck it, she thought, silencing the last of her embarrassment. “Do it!” she demanded, electric with anticipation.

Her words, sailing on a serendipitous gust, pushed him to release the monster. Time slowed as his eyes rose, watching the rope, the beast, the pain drift out of sight. This was his idea, his choice, his responsibility. In that moment, he regretted nothing. His misery was at an end.

With a sudden immunity to the cold and a titan’s grip on the cord, she gasped at the scene unfolding before her eyes. A slight smile emerged on her face. Why am I enjoying this? Should I feel guilty? she wondered as she felt no guilt whatsoever.

Minutes passed. She hadn’t moved, stunned in the light of her newfound joy.

“Well, was it everything you hoped for?” he teased, now standing at her side, wearing the widest grin he’s worn in years.

“It’s better than I expected!” She let out a light laugh. “I’m loving the big dragon! So cool,” she confessed as she turned to him. Her honest smile spoke the truth of her heart. I never thought I’d fall in love with an extreme kiting enthusiast.

They marveled together as the tethered beast floated through the fog.
Studying And Studied
By: Parzival Sattva
Tags: Flash Fiction, Microfiction, South America, Science, 100wordstory

Prompts = Leak, Study, Apart

Photo by John Gough on Unsplash

Every year, she travelled for days to reach a Paraguayan lake, to live apart from family, friends, and colleagues, to study the South American lungfish. The final leg was by mountain bike; it provided transportation back to the closest town to pick up mail and supplies.

The odd thing about these trips was that, no matter which bike she rented, the rear tire always had an intermittent leak. But she gave it no mind; it was a minor inconvenience compared to the science she was generating.

What she hadn’t yet discovered was that South American lungfish are prolific practical jokers.

Links to other sites where I publish:

Instagram = https://www.instagram.com/one_hundred_words_by_parz

Facebook = https://www.facebook.com/Parzival-Sattva-427507144484255

Blogger = https://onehundredwordsbyparz.blogspot.com

Medium = https://medium.com/100-word-or-less-stories

YouTube = https://www.youtube.com/user/parzivalsattva

And a link to where my Lovely Lady Love (who also operates the camera) posts her art: https://www.youtube.com/user/recyclinggoddess

Join in on the fun of making a story from the same prompts I do! https://www.facebook.com/groups/565109053911712
White
By: Tai Brite
Tags: Flash Fiction, Canvas, Short Story, Original, Art

A blank canvas stood in front of me, mocking my skills as I stared into it. My mind had somehow copied the white color, every idea having run away. Pushing a bit of color through my brain, my hands poured a glob of paint onto the palette. I thought the sudden burst of color against a white background would somehow stimulate my senses and creativity would wash over me, my excited hands rushing to keep up. But it didn’t and everything stayed stale shades of white. Uninspired with an oncoming headache, I raised my stiff hand, the tip of the brush colored orange. Carried by an empty mind, a line was drawn across the canvas, others following suit. As bright orange covered white, an idea graciously offered itself up. Maybe if I thought about the meaning of orange, I could pour the same meaning onto the canvas. Maybe I could contrast colors with blue, pulling together the endless evening sky and the surface of a deep ocean. Even with these few ideas my hand wouldn’t move. The extent of my imagination reached far beyond my arms length, always running ahead in a sprint, never close enough to grasp. My insecurities stopped my motions as well and brought upon a mountain of questions I wouldn’t and couldn’t answer. I never gave it much thought- my innate talent and rate of improving- instead opting to lay in bed and sleep. I wanted to paint. I wanted to be talented. But the pressure of my white mind never subsided. It was odd to me, how I wanted nothing more than to create something amazing but I stayed uninspired and talentless, sitting in front of my orange canvas.

. . . . .

Inside a gallery, a disheveled figure stood motionless, staring into the painting hung on the wall. Dim lights hung around her, accentuating the longing in her eyes. Her hand reached out, as if to touch the great work of art and stopped short, a sign beneath it mocking her hanging hand. It fell to her side with a thump. A few moments passed, quiet and heavy, the weight of her apparent sadness pulling on her shoulders. A closer look revealed everything drooped in a depressing way- her eyes downturned, mouth falling at the corners, and hair thin and pin straight. A strange tear rolled from her eye, straggling alone and running to her chin. A thin finger quickly wiped it away, her eyes closing for a moment before she shifted. One foot fell behind the other, dragging her away from the painting. A slow turn pulled her away, her eyes finally leaving the painting to face forward. The dim lights left her face, along with the light in her eyes. She was a blur of black and white, color having drained from her being completely. There was nothing inspiring about her, nothing she seemed to be inspired by herself. Lifeless and dim, she left the gallery, home to stare at another white canvas.
Her Story
By: Younus Baloch
Tags: Flash Fiction, Storytelling, Microfiction, Short Story, Short Fiction

Her Story

She assumed park would be the best place to distant herself from her countless problems for a while. So, She moves her feet gradually towards the park, near her home.

Too deep in her thoughts...

She trips and fell down on the ground.

"I can’t carry this much burden." she said while lying on the ground. "Help Me! Please God! "

This life was giving her a hard time, seems

like she can’t handle it.

Allow me to disclose to you her story:

Her name is Najma, 17 years old and a 5 months pregnant woman, not technically a woman but a teenage girl who was forced to get married. And now she’s living her painful life without complaining.

Not only this but her husband is 27 years old illiterate, jobless and an addict.

Furthermore, her mother-in-law overlords her with works.

God knows how she survived last 2 years.

Yeah, she got married when she was 15.

She stood up and looked up at birds flying west.

"Can you take me with you?" Said to the birds while they fly away. "I wish I was a bird"

While slow-walking she saw a cat and said "I wish I was a cat."

By Younus Baloch
Thank you for reading Louise. 🙏🏽
Tags: Relationships, Flash Fiction, Heartbreak, Breakups, Fiction Friday

I write to remember what I might forget and to understand things I don’t.
“My friend was an Asian Hitman”: Season Pilot — “Not the Package Delivery Man!”
Tags: Blog, Flash Fiction, Fiction Writing, Fiction, Hitman

“Just when I thought I had the required time in country and streets-smart instincts to anticipate almost every weird thing that could possibly happen to me in Asia, something like this happens.”

Image by Pexel

One morning, instead of the Package Delivery Man, a local, top-rung Hit Man came knocking on my door — lucky for me, he was a friend?Background

Image by Pexel

We became friends about seven years ago when I “accidentally” beat up a guy in a bar that he had a contract to politely persuade or “remove”.

Two years later, he disappeared without a trace. I figured that he probably succumbed to the endgame of most Hit Men — someone else probably offed him while he was being cocky or careless.

But there he stood this morning, smiling at me on my front porch.

He looked more like a Tricycle driver than a Hollywood version of a successful, high-paid assassin.

Image by Pexel

And that’s why I was instantly suspicious.

Contrary to popular belief, the most successful assassins were gifted chameleons and made it a point to disguise themselves as non-threatening, ordinary people; just another working Joe lost in the crowd.

It’s akin to the contrast between the Rambo types portrayed in the movies and actual Special Ops Personnel.

Real life Special Warfare operators, when seen in public civilian settings, are usually reserved, almost painfully quiet, slimmer, and shorter — rather diminutive- compared to the loud-mouthed, aggressive, and muscle bound characters depicted in the movies.

In fact, the most lethal person I have ever known was a guy named “Saul” — a tailor by trade, he was a frail looking, tiny, ancient man who ran the Mossad’s Krav Maga Instructor-Trainer program I attended many years ago when I was still a Bad Ass Punk; truly believing that I was “an indestructible, young Superman.”

Image by Pexel

That little old man instinctively knew that I was my team’s Ring Leader.

So, on the first day of training, he called me out and simply said, “Son, kindly attack me.”

I hesitated for a second, then attempted to “close the gap” and subdue this elder as quickly as possible without embarrassing him too much.

What happened next made me look like a total idiot…

Image by Author

This is YOUR TORUM INVITATION!

Image by Author

Excerpted from: The Hitman That Found God — JaiChai 2017. Revised 12–24–2020. All rights reserved.