Full App Example #135
cengizatilla
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import 'package:flutter/material.dart';
import 'package:grouped_list/grouped_list.dart';
void main() {
runApp(const MyApp());
}
List _elements = [
{'name': 'Cengiz ATİLLA', 'group': 'Team A'},
{'name': 'Celal İÇELLİ', 'group': 'Team B'},
{'name': 'Bünyamin', 'group': 'Team A'},
{'name': 'Tahsin', 'group': 'Team B'},
{'name': 'Osman', 'group': 'Team C'},
{'name': 'Mahmut', 'group': 'Team C'},
];
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@OverRide
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key, required this.title}) : super(key: key);
final String title;
@OverRide
State createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
@OverRide
Widget build(BuildContext context) {
),
}
}
Beta Was this translation helpful? Give feedback.
All reactions