Switch line endings
This commit is contained in:
parent
5b5042b92e
commit
d9e22dc321
@ -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);
|
||||
}
|
||||
}
|
||||
|
1
linux/flutter/ephemeral/.plugin_symlinks/desktop_window
Symbolic link
1
linux/flutter/ephemeral/.plugin_symlinks/desktop_window
Symbolic link
@ -0,0 +1 @@
|
||||
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/desktop_window-0.4.0/
|
1
linux/flutter/ephemeral/.plugin_symlinks/package_info_plus_linux
Symbolic link
1
linux/flutter/ephemeral/.plugin_symlinks/package_info_plus_linux
Symbolic link
@ -0,0 +1 @@
|
||||
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/package_info_plus_linux-1.0.5/
|
1
linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux
Symbolic link
1
linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux
Symbolic link
@ -0,0 +1 @@
|
||||
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/
|
1
linux/flutter/ephemeral/.plugin_symlinks/share_plus_linux
Symbolic link
1
linux/flutter/ephemeral/.plugin_symlinks/share_plus_linux
Symbolic link
@ -0,0 +1 @@
|
||||
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/share_plus_linux-3.0.0/
|
@ -0,0 +1 @@
|
||||
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.1/
|
1
linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux
Symbolic link
1
linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux
Symbolic link
@ -0,0 +1 @@
|
||||
C:/Users/Shawn/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.1/
|
19
linux/flutter/generated_plugin_registrant.cc
Normal file
19
linux/flutter/generated_plugin_registrant.cc
Normal 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);
|
||||
}
|
15
linux/flutter/generated_plugin_registrant.h
Normal file
15
linux/flutter/generated_plugin_registrant.h
Normal 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_
|
25
linux/flutter/generated_plugins.cmake
Normal file
25
linux/flutter/generated_plugins.cmake
Normal 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)
|
Loading…
x
Reference in New Issue
Block a user