Closed fof-fa closed 3 months ago
import 'package:flutter/material.dart'; import 'greeting/screens_greeting.dart'; import 'package:sizer/sizer.dart';
void main() { runApp(Sizer(builder: (context, orientation, deviceType) { return MaterialApp( debugShowCheckedModeBanner: false, initialRoute: '/', routes: { '/': (context) => const Main(), '/first_greeting': (context) => const FirstGreeting(), '/second_greeting': (context) => const SecondGreeting(), '/third_greeting': (context) => const ThirdGreeting(), '/fourth_greeting': (context) => const FourthGreeting(), '/fifth_greeting': (context) => const FifthGreeting(), '/sixth_greeting': (context) => const SixthGreeting(), }, ); })); }
How fix it?
any update ?
Fixed in Version 3.0.3
import 'package:flutter/material.dart'; import 'greeting/screens_greeting.dart'; import 'package:sizer/sizer.dart';
void main() { runApp(Sizer(builder: (context, orientation, deviceType) { return MaterialApp( debugShowCheckedModeBanner: false, initialRoute: '/', routes: { '/': (context) => const Main(), '/first_greeting': (context) => const FirstGreeting(), '/second_greeting': (context) => const SecondGreeting(), '/third_greeting': (context) => const ThirdGreeting(), '/fourth_greeting': (context) => const FourthGreeting(), '/fifth_greeting': (context) => const FifthGreeting(), '/sixth_greeting': (context) => const SixthGreeting(), }, ); })); }
How fix it?