Skip to content

Instantly share code, notes, and snippets.

import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
@esstein
esstein / main_dynamic_widgets.dart
Last active February 20, 2020 15:27
Flutter complete example to create dynamic buttons widgets with filter and different colors properties
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
@esstein
esstein / main_example_SearchDelegate_complete.dart
Created February 20, 2020 13:00
Flutter example complete interface with search, menu and suggestions
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) {
return MaterialApp(
title: 'Flutter Demo',