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
@yaashwardhan
yaashwardhan / main.dart
Last active January 10, 2023 17:22
Passing data to a Stateful Widget from another Stateful Widget
import 'package:flutter/material.dart';
import 'page1.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@AlexV525
AlexV525 / create_images.dart
Last active November 17, 2023 10:28
How do we create images through RepaintBoundary or Widget? (Null safety version)
///
/// [Author] Alex (https://github.com/AlexV525)
/// [Date] 07/30/21 5:29 PM
///
import 'dart:typed_data';
import 'dart:ui' as ui;
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';