Skip to content

Instantly share code, notes, and snippets.

View figengungor's full-sized avatar

Figen Güngör figengungor

View GitHub Profile
@figengungor
figengungor / main.dart
Created May 23, 2022 14:51
\t is not displayed correctly
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
import 'package:flutter/material.dart';
import 'package:table/demo.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Table Playground',
@figengungor
figengungor / dropdown_button_form_field_issue.dart
Created January 11, 2019 12:06
DropdownButtonFormField Empty State Issue
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'DropdownButtonFormField',
theme: ThemeData(
@figengungor
figengungor / custom_scroll_view_page_view_issue.dart
Last active October 19, 2018 13:01
CustomScrollView PageView issue inside StatefulWidget
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
@figengungor
figengungor / image_cache_clear_issue.dart
Last active October 12, 2018 11:08
Image Cache Clear Issue
import 'package:flutter/material.dart';
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:http/http.dart' as http;
import 'package:flutter/painting.dart' as painting;
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@figengungor
figengungor / hint_text_prefix_icon_alignment_issue.dart
Created September 29, 2018 15:40
Alignment Issue when labelText and prefixIcon used in TextField
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
@figengungor
figengungor / main.dart
Created September 26, 2018 07:58
TextTheme display4 issue
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
MyAppState createState() {
return new MyAppState();
}
}
@figengungor
figengungor / home_page.dart
Created August 13, 2018 08:57
GridView Scroll Position Question Related Snippets
class HomePage extends StatefulWidget {
final MovieBloc bloc;
HomePage({this.bloc});
@override
HomePageState createState() {
return new HomePageState();
}
}
@figengungor
figengungor / sliver_app_bar.dart
Created August 7, 2018 18:05
SliverAppBar FlexibleSpaceBar title overflow issue
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
@figengungor
figengungor / proguard-rules.pro
Last active November 28, 2016 13:34
Butterknife, Retrofit 2.x, RxJava, RetroLamba, EventBus proguard rules
# Butterknife
-keep class butterknife.** { *; }
-dontwarn butterknife.internal.**
-keep class **$$ViewBinder { *; }
-keepclasseswithmembernames class * {
@butterknife.* <fields>;
}