marius-h / flutter_enhancement_suite

The essential IntelliJ/Android Studio plugin for making working with Flutter easier than ever!
https://plugins.jetbrains.com/plugin/12693-flutter-enhancement-suite
GNU General Public License v3.0
286 stars 30 forks source link

ADD breadcrumbs should show location inside function calls #274

Open allanlaal opened 8 months ago

allanlaal commented 8 months ago

since flutter is a mess of method(calling(another(method())) "stairs", it would be helpful to see where you are in that structure in breadcrumbs

current: Scene > build()

expected: Scene > build() > Container > ListView.builder > Container > Row > Spacer

class Scene extends StatelessWidget {
  const Scene({super.key});

  @override
  Widget build(BuildContext context) { -- current breadcrumb shows no further--

    return Container(
        child: ListView.builder(
        itemCount: apiData.length,
        itemBuilder: (context, index) {
          return Container(
            padding: EdgeInsets.all(10),
            child: Row(
              children: [
                Image.asset(apiData[index]['icon']),
                Text(apiData[index]['title']),
                const Spacer(------- cursor is here ------),
                Text(apiData[index]['count']),
              ],
            ),
          );
      },
    )); 
  }
}