Skip to content

Instantly share code, notes, and snippets.

View mihalycsaba's full-sized avatar
🇺🇦
Stand with Ukraine

mihalycsaba

🇺🇦
Stand with Ukraine
View GitHub Profile
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
static const String _title = 'Flutter Code Sample';
@override
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
import 'package:flutter/material.dart';
void main() {
runApp(const MaterialApp(
title: 'Shopping App',
home: MyMainScreen(),
));
}
List<MyItems> _getMyItems(int index) {
BEGIN MESSAGE.
9tDLvCFPKe15YcC qy6GpMUkchwT1kf tVxZ65VRIRV2JAU 1WfyC30c013VOUz
RyKVsNfapzMgasM FDViPrSWfGSTCKq 6Xr2MZHgg4V0ARR c50hsoxyVtWhgbA
ipFE7gJdOQuBPiJ jypT0KxBI6uxgvZ 7EJkVqlc2usZg7C 76jgjkJDK6ITSkf
rWUyGbMu3EhWjhN ofSNJXgRGj4vOIB OVW5B0aLMzWSiL.
END MESSAGE.
@mihalycsaba
mihalycsaba / text.dart
Last active December 6, 2021 19:49
text background paint
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
import 'package:flutter/material.dart';
class Product {
const Product({this.name});
final String name;
}
typedef void CartChangedCallback(Product product, bool inCart);
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
title: 'Flutter Tutorial',
home: TutorialHome(),
));
}
class TutorialHome extends StatelessWidget {
class Person {
DateTime birthday;
String name;
final int days = 365;
Person(this.name, {this.birthday});
set age(double years) {
var d = new DateTime.now();
var dur = new Duration(days: (days * years).toInt());
class RR {
int first = 22;
int second = 33;
RR.garcia(int a, int b) {
a = this.first;
second = b;
print(first);
print(second);
print(a);