Skip to content

Commit 45f6332

Browse files
Merge pull request #18 from lohanidamodar/feat-appwrite-1.3
Feat appwrite 1.3
2 parents e3e48c2 + 8f3a91a commit 45f6332

8 files changed

Lines changed: 371 additions & 221 deletions

File tree

example/lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class _LoginPageState extends State<LoginPage> {
124124
Text(
125125
"FlAppwrite Account Kit Example",
126126
textAlign: TextAlign.center,
127-
style: Theme.of(context).textTheme.headline3?.copyWith(
127+
style: Theme.of(context).textTheme.displaySmall?.copyWith(
128128
color: Theme.of(context).primaryColor,
129129
),
130130
),
@@ -144,7 +144,7 @@ class _LoginPageState extends State<LoginPage> {
144144
Text(
145145
"Log In",
146146
textAlign: TextAlign.center,
147-
style: Theme.of(context).textTheme.headline5?.copyWith(
147+
style: Theme.of(context).textTheme.headlineSmall?.copyWith(
148148
color: Colors.red,
149149
),
150150
),

example/linux/flutter/generated_plugin_registrant.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
#include "generated_plugin_registrant.h"
88

99
#include <url_launcher_linux/url_launcher_plugin.h>
10+
#include <window_to_front/window_to_front_plugin.h>
1011

1112
void fl_register_plugins(FlPluginRegistry* registry) {
1213
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
1314
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
1415
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
16+
g_autoptr(FlPluginRegistrar) window_to_front_registrar =
17+
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowToFrontPlugin");
18+
window_to_front_plugin_register_with_registrar(window_to_front_registrar);
1519
}

example/linux/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
list(APPEND FLUTTER_PLUGIN_LIST
66
url_launcher_linux
7+
window_to_front
78
)
89

910
list(APPEND FLUTTER_FFI_PLUGIN_LIST

example/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ import Foundation
88
import device_info_plus
99
import flutter_web_auth_2
1010
import package_info_plus
11-
import path_provider_macos
11+
import path_provider_foundation
1212
import url_launcher_macos
13+
import window_to_front
1314

1415
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
1516
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
1617
FlutterWebAuth2Plugin.register(with: registry.registrar(forPlugin: "FlutterWebAuth2Plugin"))
1718
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
1819
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
1920
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
21+
WindowToFrontPlugin.register(with: registry.registrar(forPlugin: "WindowToFrontPlugin"))
2022
}

0 commit comments

Comments
 (0)