Skip to content

Instantly share code, notes, and snippets.

View imaNNeo's full-sized avatar
🚀
Through The Galaxies

Iman Khoshabi imaNNeo

🚀
Through The Galaxies
View GitHub Profile
/**
* Programmer Iman Khoshabi
* iman.neofight@gmail.com
*/
public class AdapterHistory extends RecyclerView.Adapter<AdapterHistory.ViewHolderHistory>{
ArrayList<ResponseObjects.HistoryItem> mItems;
Context mContext;
OnAdapterViewClickedListener mListener;
@imaNNeo
imaNNeo / k
Created August 19, 2019 22:49
The pathway to FL Chart
The story begins when we were in a [hackathon](http://www.hackahealth.org/en), and at the beginning, our designer showed me some chart samples and asked me to implement them(there was a curved line chart with animation), and as I decided to build up the app with flutter, I couldn't find any library and we skipped that design. 
although we skipped that fantastic design, we won the first prize.
as we were the only team that used the Flutter for mobile app development,
and I definitely can say that one of the most important reasons that referees chose us as the first team, was the Flutter because they were amazed by it.
By the way, the hackathon finished and we got back to the home, and I felt we need a chart library in the Flutter, and as all of us are a part of the community, we have to help to grow it.
I had experience with CustomViews in android, and I knew that we have the same Canvas, painting methods,… exactly in the Flutter, and I decided to start a new project and let people use
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Page1(),
);
@imaNNeo
imaNNeo / main.dart
Last active September 21, 2020 19:37
Flutter4fun UI Challenge 1 - Curved Line Gradient
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
@imaNNeo
imaNNeo / main.dart
Created September 21, 2020 21:09
Flutter4fun UI Challenge 1 - Seats
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
@imaNNeo
imaNNeo / main.dart
Created September 22, 2020 17:59
Arc progress bar challenge
import 'dart:ui' as ui;
import 'dart:math' as math;
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(HomePage());
}
import 'package:flutter/material.dart';
main() => runApp(MaterialApp(home: MyHomePage()));
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@imaNNeo
imaNNeo / main.dart
Last active October 9, 2020 22:14
Path.cubicTo()
import 'package:flutter/material.dart';
main() => runApp(MaterialApp(home: MyHomePage()));
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@imaNNeo
imaNNeo / main.dart
Created October 9, 2020 22:15
BottomNav1
import 'package:flutter/material.dart';
main() => runApp(MaterialApp(home: MyHomePage()));
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@imaNNeo
imaNNeo / main.dart
Created October 9, 2020 22:24
BottomNavigation2
import 'package:flutter/material.dart';
main() => runApp(MaterialApp(home: MyHomePage()));
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {