DEV Community

Cover image for How to make animated tree view with data from sub-collection firestore
Dev Conductor
Dev Conductor

Posted on

How to make animated tree view with data from sub-collection firestore

This is the my treeview page Scaffold code sample I used Animated tree view class

 import 'package:animated_tree_view/animated_tree_view.dart';
    
// Widget build
    return Scaffold(
            key: _scaffoldKey,
            appBar: AppBar(
              title: Text(widget.title),
            ),
            body: CustomScrollView(
              controller: scrollController,
              slivers: [
                SliverToBoxAdapter(
                  child: Padding(
                      padding: const EdgeInsets.only(
                          top: 12.0, left: 12, right: 30, bottom: 12),
                      child:

Top comments (0)