Switch line endings

This commit is contained in:
Shawn 2022-11-29 22:38:55 -07:00
parent 5b5042b92e
commit d9e22dc321
10 changed files with 79 additions and 11 deletions

View File

@ -50,20 +50,23 @@ class _CollectionList extends StatelessWidget with GetItMixin {
direction: vtMode ? Axis.vertical : Axis.horizontal,
mainAxisSize: MainAxisSize.min,
separatorBuilder: () => Gap($styles.insets.lg),
children: collections,
children: [
...collections,
Gap($styles.insets.sm),
_buildResetBtn(context),
],
),
),
);
}
// TODO: Restore reset functionality somehow
// Widget _buildResetBtn(BuildContext context) {
// Widget btn = AppBtn.from(
// onPressed: onReset ?? () {},
// text: $strings.collectionButtonReset,
// isSecondary: true,
// expand: true,
// );
// return AnimatedOpacity(opacity: onReset == null ? 0.25 : 1, duration: $styles.times.fast, child: btn);
// }
Widget _buildResetBtn(BuildContext context) {
Widget btn = AppBtn.from(
onPressed: onReset ?? () {},
text: $strings.collectionButtonReset,
isSecondary: true,
expand: true,
);
return AnimatedOpacity(opacity: onReset == null ? 0.25 : 1, duration: $styles.times.fast, child: btn);
}
}

View File

@ -0,0 +1 @@
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/desktop_window-0.4.0/

View File

@ -0,0 +1 @@
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/

View File

@ -0,0 +1 @@
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/

View File

@ -0,0 +1 @@
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/share_plus_linux-3.0.0/

View File

@ -0,0 +1 @@
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.1/

View File

@ -0,0 +1 @@
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/

View File

@ -0,0 +1,19 @@
//
// Generated file. Do not edit.
//
// clang-format off
#include "generated_plugin_registrant.h"
#include <desktop_window/desktop_window_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) desktop_window_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "DesktopWindowPlugin");
desktop_window_plugin_register_with_registrar(desktop_window_registrar);
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);
}

View File

@ -0,0 +1,15 @@
//
// Generated file. Do not edit.
//
// clang-format off
#ifndef GENERATED_PLUGIN_REGISTRANT_
#define GENERATED_PLUGIN_REGISTRANT_
#include <flutter_linux/flutter_linux.h>
// Registers Flutter plugins.
void fl_register_plugins(FlPluginRegistry* registry);
#endif // GENERATED_PLUGIN_REGISTRANT_

View File

@ -0,0 +1,25 @@
#
# Generated file, do not edit.
#
list(APPEND FLUTTER_PLUGIN_LIST
desktop_window
url_launcher_linux
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
)
set(PLUGIN_BUNDLED_LIBRARIES)
foreach(plugin ${FLUTTER_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
endforeach(plugin)
foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
endforeach(ffi_plugin)