mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-06-30 12:16:47 +08:00
refactor:code view
This commit is contained in:
@ -20,7 +20,7 @@ class _FullScreenCodeDialogState extends State<FullScreenCodeDialog> {
|
||||
|
||||
@override
|
||||
void didChangeDependencies() {
|
||||
getExampleCode(widget.filePath, DefaultAssetBundle.of(context))
|
||||
getExampleCode(context,'${widget.filePath}', DefaultAssetBundle.of(context))
|
||||
.then<void>((String code) {
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
|
Reference in New Issue
Block a user