correctly show progress bar according to toolbar position
This commit is contained in:
@@ -522,7 +522,16 @@ class BrowserScreen extends HookConsumerWidget {
|
|||||||
curve: Curves.easeInOutQuart,
|
curve: Curves.easeInOutQuart,
|
||||||
left: 0,
|
left: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
bottom: bottomToolbarVisible ? bottomAppBarTotalHeight : 0,
|
top: tabBarPosition == TabBarPosition.top && topToolbarVisible
|
||||||
|
? topAppBarTotalHeight
|
||||||
|
: null,
|
||||||
|
bottom:
|
||||||
|
tabBarPosition == TabBarPosition.bottom &&
|
||||||
|
bottomToolbarVisible
|
||||||
|
? bottomAppBarTotalHeight
|
||||||
|
: tabBarPosition == TabBarPosition.bottom
|
||||||
|
? 0
|
||||||
|
: null,
|
||||||
child: Consumer(
|
child: Consumer(
|
||||||
builder: (context, ref, child) {
|
builder: (context, ref, child) {
|
||||||
final value = ref.watch(
|
final value = ref.watch(
|
||||||
|
|||||||
Reference in New Issue
Block a user