Skip to content

Commit

Permalink
Merge pull request #18 from lohanidamodar/feat-appwrite-1.3
Browse files Browse the repository at this point in the history
Feat appwrite 1.3
  • Loading branch information
lohanidamodar committed Apr 19, 2023
2 parents e3e48c2 + 8f3a91a commit 45f6332
Show file tree
Hide file tree
Showing 8 changed files with 371 additions and 221 deletions.
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class _LoginPageState extends State<LoginPage> {
Text(
"FlAppwrite Account Kit Example",
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.headline3?.copyWith(
style: Theme.of(context).textTheme.displaySmall?.copyWith(
color: Theme.of(context).primaryColor,
),
),
Expand All @@ -144,7 +144,7 @@ class _LoginPageState extends State<LoginPage> {
Text(
"Log In",
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.headline5?.copyWith(
style: Theme.of(context).textTheme.headlineSmall?.copyWith(
color: Colors.red,
),
),
Expand Down
4 changes: 4 additions & 0 deletions example/linux/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
#include "generated_plugin_registrant.h"

#include <url_launcher_linux/url_launcher_plugin.h>
#include <window_to_front/window_to_front_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
g_autoptr(FlPluginRegistrar) window_to_front_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowToFrontPlugin");
window_to_front_plugin_register_with_registrar(window_to_front_registrar);
}
1 change: 1 addition & 0 deletions example/linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

list(APPEND FLUTTER_PLUGIN_LIST
url_launcher_linux
window_to_front
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down
4 changes: 3 additions & 1 deletion example/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ import Foundation
import device_info_plus
import flutter_web_auth_2
import package_info_plus
import path_provider_macos
import path_provider_foundation
import url_launcher_macos
import window_to_front

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
FlutterWebAuth2Plugin.register(with: registry.registrar(forPlugin: "FlutterWebAuth2Plugin"))
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
WindowToFrontPlugin.register(with: registry.registrar(forPlugin: "WindowToFrontPlugin"))
}
Loading

0 comments on commit 45f6332

Please sign in to comment.