Skip to content

Instantly share code, notes, and snippets.

View yeasin50's full-sized avatar
☺️
Smile...It's Sunnah

Md. Yeasin Sheikh yeasin50

☺️
Smile...It's Sunnah
View GitHub Profile
@yeasin50
yeasin50 / main.dart
Created September 10, 2021 10:08
paint onClick
import 'package:flutter/material.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@yeasin50
yeasin50 / main.dart
Created September 8, 2021 15:40
ListTile/Card with Row<Column>
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
void main() {
final List<Map<String, Object>> perguntas = [
{
'texto': 'Qual é a sua cor favorita?',
'respostas': ['Preto', 'Vermelho', 'Verde', 'Branco'],
},
{
'texto': 'Qual é o seu animal favorito?',
'respostas': ['Coelho', 'Cobra', 'Elefante', 'Leão'],