Skip to content

Instantly share code, notes, and snippets.

@omatt
omatt / 2015 Q2 Anime
Last active August 29, 2015 14:19
On-going Anime for 2015 Q2
### Watching
1. Nagato Yuki-chan no Shōshitsu
2. Nisekoi 2
3. Ore Monogatari
4. Shokugeki no Soma
5. Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka
6. Punch Line
7. Yamada-kun and the Seven Witches
8. Houkago no Pleiades
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
// TODO(dragostis): Missing functionality:
// * mobile horizontal mode with adding/removing steps
// * alternative labeling
@omatt
omatt / custom_stepper.dart
Last active June 24, 2021 19:48
Modified Flutter Stepper widget with optional alignment parameters, dotted line seperators. An option to customize 'Next' and 'Cancel button is also available. Original Source: https://github.com/flutter/flutter/blob/d79295af24/packages/flutter/lib/src/material/stepper.dart
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
// TODO(dragostis): Missing functionality:
// * mobile horizontal mode with adding/removing steps
// * alternative labeling
@omatt
omatt / main.dart
Created September 10, 2021 04:49
Sample Bloc
import 'dart:async';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override