Skip to content

Instantly share code, notes, and snippets.

View TheGlorySaint's full-sized avatar

DQSS TheGlorySaint

View GitHub Profile
@TheGlorySaint
TheGlorySaint / gist:9ff84c92594912e28a74d9e263aeed9a
Last active February 23, 2024 13:59
blocConsumer listener issue
import 'package:codemagic_gui/features/a/a.dart';
import 'package:codemagic_gui/features/b/b.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
@TheGlorySaint
TheGlorySaint / appbar.dart
Created January 15, 2022 18:50
SliverAppBar with title and content and when scrolled content is not displayed
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(