Answers for "no mediaquery widget ancestor found defaulttabcontrollor"

0

no mediaquery widget ancestor found defaulttabcontrollor

class MyApp extends StatelessWidget  {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Graphn',
      home: DefaultTabController(
      length:2,
      child:Scaffold(),
    );
  }
}
Posted by: Guest on April-19-2022

Code answers related to "no mediaquery widget ancestor found defaulttabcontrollor"

Browse Popular Code Answers by Language