Skip to content

Instantly share code, notes, and snippets.

Figen Güngör figengungor

View GitHub Profile
View table.dart
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 Jan 11, 2019
DropdownButtonFormField Empty State Issue
View dropdown_button_form_field_issue.dart
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 Oct 19, 2018
CustomScrollView PageView issue inside StatefulWidget
View custom_scroll_view_page_view_issue.dart
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(
View image_cache_clear_issue.dart
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 Sep 29, 2018
Alignment Issue when labelText and prefixIcon used in TextField
View hint_text_prefix_icon_alignment_issue.dart
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 Sep 26, 2018
TextTheme display4 issue
View main.dart
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 Aug 13, 2018
GridView Scroll Position Question Related Snippets
View home_page.dart
class HomePage extends StatefulWidget {
final MovieBloc bloc;
HomePage({this.bloc});
@override
HomePageState createState() {
return new HomePageState();
}
}
@figengungor
figengungor / sliver_app_bar.dart
Created Aug 7, 2018
SliverAppBar FlexibleSpaceBar title overflow issue
View sliver_app_bar.dart
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 Nov 28, 2016
Butterknife, Retrofit 2.x, RxJava, RetroLamba, EventBus proguard rules
View proguard-rules.pro
# Butterknife
-keep class butterknife.** { *; }
-dontwarn butterknife.internal.**
-keep class **$$ViewBinder { *; }
-keepclasseswithmembernames class * {
@butterknife.* <fields>;
}
View MultiSwipeRefreshLayout.java
/*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
You can’t perform that action at this time.