Skip to content

Instantly share code, notes, and snippets.

@AdamJonsson
AdamJonsson / main.dart
Created April 30, 2019 06:32
An example how different widget can be used to expand and collapse content in Flutter
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Expanding Demo',
theme: ThemeData(