Skip to content

Instantly share code, notes, and snippets.

Avatar
Make it faster

WISNU GINANJAR SAPUTRA wisnuwiry

Make it faster
View GitHub Profile
@wisnuwiry
wisnuwiry / main.dart
Created Apr 5, 2021
Flutter Auto Collapse ExpansionTile
View main.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
View product_bycategory_bloc.dart
import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
import 'package:rxdart/rxdart.dart';
import '../../data/data.dart';
part 'product_bycategory_event.dart';
@wisnuwiry
wisnuwiry / example_var.dart
Created Nov 26, 2019
Contoh penerapan variabel pada Dart
View example_var.dart
void main() {
var p = 12;
print(p);
var s = "Hello";
print(s);
}
View hello.dart
main() {
print("Hello, World!");
}