another-flushbar
another-flushbar copied to clipboard
A flexible widget for user notification. Customize your text, button, duration, animations and much more. For Android devs, it is made to replace Snackbars and Toasts.
Flushbar is crashing on Flutter 2.10.+ Here is the log: `Failed assertion: line 5021 pos 12: 'entry.currentState == _RouteLifecycle.popping || (entry.hasPage && entry.currentState.index < _RouteLifecycle.pop.index)': is not true. flutter: #0...
Is there some reason why the show method only uses rootNavigator: false? (another_flushbar-1.12.30/lib/flushbar.dart:233) Suggestion: pass rootNavigator as an argument.
I am writing integration tests for my app and within my cases, there are cases were a A flushbar with title "Success" must appear and A flushbar with title "Error"...
While Flushbar is active and user swipe the screen the animation is freezing.
**Problem:** Despite blockBackgroundInteraction is set to false, the area bellow the flushbar is blocked (area above is usable). There is no difference, if the spacing to the bottom is defined...
``` Flushbar( title: 'title', message: 'ok', flushbarPosition: FlushbarPosition.TOP, duration: const Duration(seconds: 2), animationDuration: Duration.zero, ).show(context); ``` While trying to disable animation by setting `animationDuration : Duration.zero` caused the exception **package:flutter/src/widgets/navigator.dart':...
Seems to be displaying the text on the left even when setting `TextDirection.ltr`
Minimal reproducable example: Widget with flushbar: ``` import 'package:another_flushbar/flushbar.dart'; import 'package:flutter/material.dart'; class FlushbarExample extends StatelessWidget { const FlushbarExample({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return ElevatedButton( child:...
Example usage: create a blank `Flushbar()` and manually dismiss it somewhere else. ```dart var fb = Flushbar(...); fb = fb.copyWith( mainButton: TextButton( onPressed: () { fb.dismiss(); // dismiss it here...
I discovered a serious problem It is that it is possible to delete more than one element during the countdown timer This causes the flash bar to appear repeatedly on...