Skip to content

Instantly share code, notes, and snippets.

Avatar
😅
Making some bugs to fix later

Iman khoshabi imaNNeoFighT

😅
Making some bugs to fix later
View GitHub Profile
@imaNNeoFighT
imaNNeoFighT / main.dart
Created Aug 20, 2022
Youtube like animation
View main.dart
import 'package:flutter/material.dart';
import 'dart:math' as math;
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@imaNNeoFighT
imaNNeoFighT / main.dart
Created May 12, 2022
Chart renderer key
View main.dart
import 'package:fl_chart/fl_chart.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/scheduler.dart';
class _LineChart extends StatefulWidget {
const _LineChart({required this.isShowingMainData});
final bool isShowingMainData;
@imaNNeoFighT
imaNNeoFighT / main.dart
Created Mar 4, 2022
Toggle showing tooltip on BarChart
View main.dart
import 'package:fl_chart/fl_chart.dart';
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
View main.dart
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
@imaNNeoFighT
imaNNeoFighT / main.dart
Last active Jul 14, 2022
baselineX and baselineY
View main.dart
import 'package:fl_chart/fl_chart.dart';
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
@imaNNeoFighT
imaNNeoFighT / main.dart
Created Jan 29, 2022
Customize touch to work on only one line
View main.dart
import 'package:fl_chart/fl_chart.dart';
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
@imaNNeoFighT
imaNNeoFighT / main.darrt
Created Dec 3, 2021
PieChart dyanmic radius
View main.darrt
import 'package:fl_chart/fl_chart.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
View main.dart
// main.dart
import 'package:fl_chart/fl_chart.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
View main.dart
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
View main.dart
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override