Skip to content

Update drawer.dart#2

Open
mintymac wants to merge 1 commit intocreativetimofficial:mainfrom
mintymac:patch-1
Open

Update drawer.dart#2
mintymac wants to merge 1 commit intocreativetimofficial:mainfrom
mintymac:patch-1

Conversation

@mintymac
Copy link

@mintymac mintymac commented Jul 8, 2021

The drawer widget is currently broken because of this requirement for CrossAxisAlignment.baseline being set. This fix assumes alphabetic intention for the drawer.

The following assertion was thrown building NowDrawer(dirty, dependencies: [MediaQuery]):
textBaseline is required if you specify the crossAxisAlignment with CrossAxisAlignment.baseline
'package:flutter/src/widgets/basic.dart':
Failed assertion: line 4369 pos 15: 'crossAxisAlignment != CrossAxisAlignment.baseline ||
textBaseline != null'

The drawer widget is currently broken because of this requirement for CrossAxisAlignment.baseline being set.  This fix assumes alphabetic intention for the drawer.   

The following assertion was thrown building NowDrawer(dirty, dependencies: [MediaQuery]):
textBaseline is required if you specify the crossAxisAlignment with CrossAxisAlignment.baseline
'package:flutter/src/widgets/basic.dart':
Failed assertion: line 4369 pos 15: 'crossAxisAlignment != CrossAxisAlignment.baseline ||
textBaseline != null'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant