chart ui changes
This commit is contained in:
parent
3d6658e7c0
commit
493312e091
@ -15,12 +15,12 @@ if (localPropertiesFile.exists()) {
|
|||||||
|
|
||||||
def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
|
def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
|
||||||
if (flutterVersionCode == null) {
|
if (flutterVersionCode == null) {
|
||||||
flutterVersionCode = "13"
|
flutterVersionCode = "14"
|
||||||
}
|
}
|
||||||
|
|
||||||
def flutterVersionName = localProperties.getProperty("flutter.versionName")
|
def flutterVersionName = localProperties.getProperty("flutter.versionName")
|
||||||
if (flutterVersionName == null) {
|
if (flutterVersionName == null) {
|
||||||
flutterVersionName = "1.0.12"
|
flutterVersionName = "1.0.13"
|
||||||
}
|
}
|
||||||
|
|
||||||
def keystorePropertiesFile = rootProject.file("key.properties")
|
def keystorePropertiesFile = rootProject.file("key.properties")
|
||||||
|
|||||||
BIN
assets/icons/misc/filters.png
Normal file
BIN
assets/icons/misc/filters.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 525 B |
@ -5,4 +5,5 @@ abstract class UaeNumbersAssetPath {
|
|||||||
static const bookmarksUae = '$_basePath/bookmarks.png';
|
static const bookmarksUae = '$_basePath/bookmarks.png';
|
||||||
static const bookmarksSelectedUae = '$_basePath/bookmarksSelectedUae.png';
|
static const bookmarksSelectedUae = '$_basePath/bookmarksSelectedUae.png';
|
||||||
static const shareUae = '$_basePath/share.png';
|
static const shareUae = '$_basePath/share.png';
|
||||||
|
static const filterUae = '$_basePath/filters.png';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -117,11 +117,19 @@ class _UaenumberWidgetState extends ConsumerState<uaenumberWidget> {
|
|||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintText: "Search",
|
hintText: "Search",
|
||||||
hintStyle: TextStyle(color: Color(0xFF898C81)),
|
hintStyle: TextStyle(color: Color(0xFF898C81)),
|
||||||
prefixIcon: Image.asset(
|
|
||||||
MiscIconAssetPath.search,
|
|
||||||
// width: 15,
|
prefixIcon: Image(
|
||||||
// height: 10,
|
image: ExactAssetImage(MiscIconAssetPath.search),
|
||||||
|
width: 24,
|
||||||
|
height: 24,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
|
// prefixIcon: Image.asset(
|
||||||
|
// MiscIconAssetPath.search,
|
||||||
|
// // fit: BoxFit.contain,
|
||||||
|
// ),
|
||||||
border: InputBorder.none,
|
border: InputBorder.none,
|
||||||
contentPadding:
|
contentPadding:
|
||||||
EdgeInsets.symmetric(vertical: 8.0, horizontal: 18.0),
|
EdgeInsets.symmetric(vertical: 8.0, horizontal: 18.0),
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -34,7 +34,8 @@ class ApiService {
|
|||||||
nonChartData.add(item);
|
nonChartData.add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
final Map<String, dynamic> chartScreenData = jsonData['screen_heading_and_color'];
|
||||||
|
|
||||||
// Save original data for reset
|
// Save original data for reset
|
||||||
// originalChartsData = List.from(isChartData); // Store original data
|
// originalChartsData = List.from(isChartData); // Store original data
|
||||||
// originalCardData = List.from(nonChartData); // Store original data
|
// originalCardData = List.from(nonChartData); // Store original data
|
||||||
@ -43,7 +44,8 @@ class ApiService {
|
|||||||
return {
|
return {
|
||||||
'isChartData': isChartData,
|
'isChartData': isChartData,
|
||||||
'nonChartData': nonChartData,
|
'nonChartData': nonChartData,
|
||||||
'filterData': jsonData['new_filter_data']
|
'filterData': jsonData['new_filter_data'],
|
||||||
|
'chartScreenData' :chartScreenData
|
||||||
// 'filterData': jsonData['filter_data']
|
// 'filterData': jsonData['filter_data']
|
||||||
// 'originalChartsData': originalChartsData,
|
// 'originalChartsData': originalChartsData,
|
||||||
// 'originalCardData': originalCardData,
|
// 'originalCardData': originalCardData,
|
||||||
@ -161,4 +163,4 @@ class ApiService {
|
|||||||
return '$amount';
|
return '$amount';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -233,7 +233,8 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
|||||||
confirmButtonStyle: ButtonStyle(
|
confirmButtonStyle: ButtonStyle(
|
||||||
backgroundColor: WidgetStateProperty.all(Color(0xFFAA8E83)), // OK button background color
|
backgroundColor: WidgetStateProperty.all(Color(0xFFAA8E83)), // OK button background color
|
||||||
foregroundColor: WidgetStateProperty.all(Colors.white), // OK button text color
|
foregroundColor: WidgetStateProperty.all(Colors.white), // OK button text color
|
||||||
minimumSize: WidgetStateProperty.all(Size(150, 50)),
|
// minimumSize: WidgetStateProperty.all(Size(150, 50)),
|
||||||
|
minimumSize: WidgetStateProperty.all(Size(100, 40)),
|
||||||
shape: WidgetStateProperty.all(RoundedRectangleBorder(
|
shape: WidgetStateProperty.all(RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(12.0), // Rounded corners
|
borderRadius: BorderRadius.circular(12.0), // Rounded corners
|
||||||
)),
|
)),
|
||||||
@ -241,7 +242,8 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
|||||||
cancelButtonStyle: ButtonStyle(
|
cancelButtonStyle: ButtonStyle(
|
||||||
// backgroundColor: WidgetStateProperty.all(Colors.white), // Cancel button background color
|
// backgroundColor: WidgetStateProperty.all(Colors.white), // Cancel button background color
|
||||||
foregroundColor: WidgetStateProperty.all(Color(0xFFAA8E83)), // Cancel button text color
|
foregroundColor: WidgetStateProperty.all(Color(0xFFAA8E83)), // Cancel button text color
|
||||||
minimumSize: WidgetStateProperty.all(Size(150, 50)),
|
// minimumSize: WidgetStateProperty.all(Size(150, 50)),
|
||||||
|
minimumSize: WidgetStateProperty.all(Size(100, 40)),
|
||||||
shape: WidgetStateProperty.all(RoundedRectangleBorder(
|
shape: WidgetStateProperty.all(RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(12.0), // Rounded corners
|
borderRadius: BorderRadius.circular(12.0), // Rounded corners
|
||||||
side: const BorderSide(color: Color(0xFFAA8E83), width: 2), // Outline color
|
side: const BorderSide(color: Color(0xFFAA8E83), width: 2), // Outline color
|
||||||
|
|||||||
@ -689,12 +689,14 @@ class _BaseScaffoldState extends ConsumerState<BaseScaffold> {
|
|||||||
leading: Stack(
|
leading: Stack(
|
||||||
children: [
|
children: [
|
||||||
if (widget.showBackButton == true)
|
if (widget.showBackButton == true)
|
||||||
Positioned(
|
Align(
|
||||||
top: 10,
|
alignment: Alignment.centerLeft,
|
||||||
left: 18,
|
child: Padding(
|
||||||
|
padding: EdgeInsets.only(left: 8),
|
||||||
|
|
||||||
child: IconButton(
|
child: IconButton(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
icon: const Icon(Icons.arrow_back_ios_new),
|
icon: const Icon(Icons.arrow_back_ios_new, size: 26),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
if ((widget.navBackArrow as Text).data == 'home') {
|
if ((widget.navBackArrow as Text).data == 'home') {
|
||||||
context.go('/myhomepage');
|
context.go('/myhomepage');
|
||||||
@ -703,10 +705,12 @@ class _BaseScaffoldState extends ConsumerState<BaseScaffold> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),),
|
||||||
Positioned(
|
|
||||||
top: 8,
|
Align(
|
||||||
right: 4,
|
alignment: Alignment.centerRight,
|
||||||
|
child: Padding(
|
||||||
|
padding: EdgeInsets.only(right: 10),
|
||||||
child: Builder(
|
child: Builder(
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return IconButton(
|
return IconButton(
|
||||||
@ -719,9 +723,11 @@ class _BaseScaffoldState extends ConsumerState<BaseScaffold> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
),
|
),
|
||||||
drawer: Drawer(
|
drawer: Drawer(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.white,
|
||||||
@ -1017,4 +1023,4 @@ class _BaseScaffoldState extends ConsumerState<BaseScaffold> {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,7 +1,7 @@
|
|||||||
name: uae_stat
|
name: uae_stat
|
||||||
description: "View statistics about the UAE from the Federal Center for Statistics and Competitiveness."
|
description: "View statistics about the UAE from the Federal Center for Statistics and Competitiveness."
|
||||||
publish_to: "none"
|
publish_to: "none"
|
||||||
version: 1.0.12+13
|
version: 1.0.13+14
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.2.3 <4.0.0"
|
sdk: ">=3.2.3 <4.0.0"
|
||||||
@ -114,6 +114,7 @@ flutter:
|
|||||||
- assets/splash_screen/
|
- assets/splash_screen/
|
||||||
- assets/icons/uae_numbers/bookmarks.png
|
- assets/icons/uae_numbers/bookmarks.png
|
||||||
- assets/icons/uae_numbers/bookmarksSelectedUae.png
|
- assets/icons/uae_numbers/bookmarksSelectedUae.png
|
||||||
|
- assets/icons/uae_numbers/filters.png
|
||||||
- assets/icons/uae_numbers/share.png
|
- assets/icons/uae_numbers/share.png
|
||||||
- assets/icons/misc/vector.png
|
- assets/icons/misc/vector.png
|
||||||
- assets/icons/misc/visible_on.png
|
- assets/icons/misc/visible_on.png
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user