Skip to content

Documentation tooltip issue with long structures shows too far down. #1563

@wyattbiker

Description

@wyattbiker

When you have a long structure, E.g. a Scaffold, the tooltip will show all the way at the bottom close of the structure. This is an issue because you cannot move your mouse to scroll a long tooltip.

Not sure what the best solution is, but I see why it is this way. Android Studio does it the obvious way which is show tooltip right below the name.

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text('Pictures')),
        body: Column(
          children: <Widget>[
            Image.asset(
              'assets/ship.jpg',
            ),
            Text('Ship'),
            RaisedButton(
                color: Colors.blue,
                child: Text("Press me!",
                    style: TextStyle(
                        color: Colors.white,
                        fontStyle: FontStyle.normal,
                        fontWeight: FontWeight.normal,
                        fontSize: 20.0)),
                onPressed: () {}),
            Center(
                child: Column(children: [
              Text('Hello, World!'),
              Icon(Icons.star, color: Colors.green),
            ]))
          ],
        ),
      ),
    );
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions