Skip to content

Commit

Permalink
contact screen , image picker, tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruchi71 committed Dec 14, 2023
1 parent 04bea38 commit 40f96bc
Show file tree
Hide file tree
Showing 11 changed files with 266 additions and 221 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.9.21'
repositories {
google()
mavenCentral()
Expand Down
13 changes: 13 additions & 0 deletions lib/common_widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,16 @@ InputDecoration customUnderlineInputdecoration(
),
suffixIcon: suffixicon ?? const SizedBox());
}


// ------------------ contact ui --------------------------

Widget customContactUi({required Function()? onTap}){
return InkWell(
onTap: onTap,
child: const Icon(
Icons.contact_page,
color: primaryColor,
size: 35,
));
}
364 changes: 235 additions & 129 deletions lib/importexpense_screen.dart

Large diffs are not rendered by default.

88 changes: 0 additions & 88 deletions lib/personselector_screen.dart

This file was deleted.

8 changes: 5 additions & 3 deletions lib/tags_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ class _TagsPageState extends State<TagsPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(
leading: const BackButton(),
//leading: const BackButton(),
title: appBarSearchInput(controller: _searchController),
actions: null,
),
body: Container(
margin: const EdgeInsets.all(5.0),
Expand All @@ -135,7 +135,9 @@ class _TagsPageState extends State<TagsPage> {
_renderTagGroup(tags: _unselectedTagsFiltered),
]),
),
bottomNavigationBar: renderMainBottomButton('Done', null),
bottomNavigationBar: BottomAppBar(child: renderMainBottomButton('Done',(){
Navigator.pop(context,_attachedTags);
})),
);
}

Expand Down
4 changes: 4 additions & 0 deletions linux/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

#include "generated_plugin_registrant.h"

#include <file_selector_linux/file_selector_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
}
1 change: 1 addition & 0 deletions linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
file_selector_linux
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down
2 changes: 2 additions & 0 deletions macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import FlutterMacOS
import Foundation

import file_selector_macos

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
}
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dependencies:
jiffy: ^5.0.0
receive_sharing_intent: ^1.4.5
fluttercontactpicker: ^4.7.0
image_picker: ^1.0.5

dev_dependencies:
flutter_test:
Expand Down
3 changes: 3 additions & 0 deletions windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

#include "generated_plugin_registrant.h"

#include <file_selector_windows/file_selector_windows.h>

void RegisterPlugins(flutter::PluginRegistry* registry) {
FileSelectorWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FileSelectorWindows"));
}
1 change: 1 addition & 0 deletions windows/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
file_selector_windows
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down

0 comments on commit 40f96bc

Please sign in to comment.