Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MdAshrafUllah committed Feb 2, 2023
1 parent 3727a7a commit d7febff
Show file tree
Hide file tree
Showing 16 changed files with 164 additions and 86 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<bitmap android:gravity="fill" android:src="@drawable/background"/>
</item>
<item>
<bitmap android:gravity="center" android:src="@drawable/splash"/>
</item>
</layer-list>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions android/app/src/main/res/drawable-night/launch_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<bitmap android:gravity="fill" android:src="@drawable/background"/>
</item>
<item>
<bitmap android:gravity="center" android:src="@drawable/splash"/>
</item>
</layer-list>
2 changes: 1 addition & 1 deletion android/app/src/main/res/values-night-v31/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#FAFAFA</item>
<item name="android:windowSplashScreenBackground">#fafafa</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
Expand Down
3 changes: 3 additions & 0 deletions android/app/src/main/res/values-night/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/res/values-v31/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#FAFAFA</item>
<item name="android:windowSplashScreenBackground">#fafafa</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
Expand Down
Binary file removed flutter_01.png
Binary file not shown.
18 changes: 9 additions & 9 deletions flutter_native_splash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ flutter_native_splash:
# of your splash screen to a solid color. Use background_image to set the background of your
# splash screen to a png image. This is useful for gradients. The image will be stretch to the
# size of the app. Only one parameter can be used, color and background_image cannot both be set.
color: "FAFAFA"
color: "#fafafa"
#background_image: "assets/background.png"

# Optional parameters are listed below. To enable a parameter, uncomment the line by removing
Expand Down Expand Up @@ -53,7 +53,7 @@ flutter_native_splash:
image: assets/splash/rentcount12.png

# Splash screen background color.
color: "FAFAFA"
color: "#fafafa"

# App icon background color.
#icon_background_color: "#111111"
Expand All @@ -65,7 +65,7 @@ flutter_native_splash:
# apply when the device is in dark mode. If they are not specified, the app will use the
# parameters from above.
# image_dark: assets/splash/rentcount12.png
# color_dark: "FAFAFA"
# color_dark: "#fafafa"
# icon_background_color_dark: "#ff0000"

# The android, ios and web parameters can be used to disable generating a splash screen on a given
Expand All @@ -76,12 +76,12 @@ flutter_native_splash:

# Platform specific images can be specified with the following parameters, which will override
# the respective parameter. You may specify all, selected, or none of these parameters:
#color_android: "#42a5f5"
#color_dark_android: "#042a49"
#color_ios: "#42a5f5"
#color_dark_ios: "#042a49"
#color_web: "#42a5f5"
#color_dark_web: "#042a49"
# color_android: "#fafafa"
# color_dark_android: "#fafafa"
# color_ios: "#fafafa"
# color_dark_ios: "#fafafa"
# color_web: "#fafafa"
# color_dark_web: "#fafafa"
# image_android: assets/splash/rentcount.png
# image_dark_android: assets/splash/rentcount.png
#image_ios: assets/splash-ios.png
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
"images" : [
{
"filename" : "background.png",
"idiom" : "universal",
"scale" : "1x"
"idiom" : "universal"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "darkbackground.png",
"idiom" : "universal"
}
],
"info" : {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions lib/fuelprice.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ class fuelprice extends StatelessWidget {
DataRow(cells: [
DataCell(Text('1')),
DataCell(Text('Diesel')),
DataCell(Text('114 TK')),
DataCell(Text('109 TK')),
]),
DataRow(cells: [
DataCell(Text('2')),
DataCell(Text('Petrol')),
DataCell(Text('130 TK')),
DataCell(Text('120 TK')),
]),
DataRow(cells: [
DataCell(Text('3')),
Expand All @@ -58,7 +58,7 @@ class fuelprice extends StatelessWidget {
DataRow(cells: [
DataCell(Text('4')),
DataCell(Text('LPG')),
DataCell(Text('78 TK')),
DataCell(Text('57 TK')),
]),
],
),
Expand Down
3 changes: 2 additions & 1 deletion lib/rentcount.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:searchfield/searchfield.dart';
import 'dart:math';

Expand Down Expand Up @@ -358,6 +357,8 @@ class _fuelcountState extends State<fuelcount> {
'Boddorhat' &&
_selectedval == _vehicletypes[4]) {
_rentcount.text = _rent[7];
} else {
_rentcount.text = "Not Include";
}
}
},
Expand Down
Loading

0 comments on commit d7febff

Please sign in to comment.