diff --git a/flutter b/flutter new file mode 160000 index 0000000..761747b --- /dev/null +++ b/flutter @@ -0,0 +1 @@ +Subproject commit 761747bfc538b5af34aa0d3fac380f1bc331ec49 diff --git a/lib/app.dart b/lib/app.dart index 21f9ee7..8f98abe 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -10,7 +10,7 @@ class WeatherApp extends StatelessWidget { Widget build(BuildContext context) { return GetMaterialApp( debugShowCheckedModeBanner: false, - title: 'Weather App', + title: 'Weather', theme: ThemeData( colorSchemeSeed: AppColors.primaryColor, useMaterial3: true, diff --git a/lib/view/screens/forecast_list_screen.dart b/lib/view/screens/forecast_list_screen.dart index 40e4d54..20f023d 100644 --- a/lib/view/screens/forecast_list_screen.dart +++ b/lib/view/screens/forecast_list_screen.dart @@ -22,7 +22,7 @@ class ForecastListScreen extends StatelessWidget { return Scaffold( backgroundColor: const Color.fromARGB(255, 37, 49, 593), appBar: appBarStyle( - title: "5-day forecast", + title: "3-day forecast", locationIcon: true, selectedLocation: location, ), @@ -45,7 +45,7 @@ class ForecastListScreen extends StatelessWidget { child: ListView.builder( shrinkWrap: true, scrollDirection: Axis.horizontal, - itemCount: 5, + itemCount: 3, itemBuilder: (context, index) { DateTime forecastDate = DateTime.parse(forecast[index].date ?? 'N/A'); bool isCurrentDate = DateTime.now().day == forecastDate.day && diff --git a/lib/view/screens/home_screen.dart b/lib/view/screens/home_screen.dart index 99e9495..f436e2d 100644 --- a/lib/view/screens/home_screen.dart +++ b/lib/view/screens/home_screen.dart @@ -340,7 +340,7 @@ Widget homeScreenForecastList( width: 10, ), Text( - "Next Three days forecast", + "Tomorrow", style: GoogleFonts.roboto( textStyle: const TextStyle( color: AppColors.secondaryColor, @@ -352,7 +352,7 @@ Widget homeScreenForecastList( ListView.builder( physics: const NeverScrollableScrollPhysics(), shrinkWrap: true, - itemCount: 3, + itemCount: 1, itemBuilder: (BuildContext context, int index) { final day = forecast[index + 1].day!; return Row( @@ -662,7 +662,7 @@ Widget forecastButton( ), child: Center( child: Text( - '5-day forecast', + '3-day forecast', style: GoogleFonts.roboto( textStyle: const TextStyle( color: AppColors.secondaryColor, diff --git a/lib/view/screens/search_screen.dart b/lib/view/screens/search_screen.dart index 57711d3..bbc1929 100644 --- a/lib/view/screens/search_screen.dart +++ b/lib/view/screens/search_screen.dart @@ -30,7 +30,7 @@ class _SearchScreenState extends State { return Scaffold( backgroundColor: const Color.fromARGB(255, 37, 49, 59), appBar: appBarStyle( - title: "Search Location!!!!!", + title: "Your location:", ), body: Padding( padding: const EdgeInsets.all(10.0), diff --git a/lib/view/screens/splash_screen.dart b/lib/view/screens/splash_screen.dart index da1e90e..0d3aa34 100644 --- a/lib/view/screens/splash_screen.dart +++ b/lib/view/screens/splash_screen.dart @@ -69,7 +69,7 @@ class _SplashScreenState extends State { ), const Spacer(), Text( - '1.0.0', + '1.0.1', style: GoogleFonts.roboto( textStyle: const TextStyle( color: AppColors.secondaryColor,