Skip to content

Commit 61e8ed5

Browse files
committed
Refactor dropdowns and code format
1 parent 88514aa commit 61e8ed5

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

lib/src/auth/codelessly_auth_manager.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ class CodelesslyAuthManager extends AuthManager {
383383
// If the status code of the response is 200, the authentication was
384384
// successful.
385385
if (result.statusCode == 200) {
386-
logger.log(label, 'Successful auth token verification response received.',
386+
logger.log(
387+
label, 'Successful auth token verification response received.',
387388
largePrint: true);
388389

389390
// Parse the body of the response to JSON.

lib/src/transformers/node_transformers/passive_rectangle_transformer.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,15 @@ List<Widget> wrapWithInkWell(
239239
: () => FunctionsRepository.triggerAction(
240240
context,
241241
TriggerType.click,
242-
reactions: onClickReactions,
243-
),
242+
reactions: onClickReactions,
243+
),
244244
onLongPress: onLongPressReactions.isEmpty
245245
? null
246246
: () => FunctionsRepository.triggerAction(
247247
context,
248248
TriggerType.longPress,
249-
reactions: onLongPressReactions,
250-
),
249+
reactions: onLongPressReactions,
250+
),
251251
borderRadius: getBorderRadius(node),
252252
overlayColor: inkWell.overlayColor != null
253253
? MaterialStatePropertyAll<Color>(

lib/src/transformers/utils/node_state_provider.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class NodeStateProvider extends InheritedWidget {
4444
/// If there is no [NodeStateProvider] ancestor, returns null.
4545
static NodeStateProvider? maybeOf(BuildContext context) {
4646
final NodeStateProvider? provider =
47-
context.dependOnInheritedWidgetOfExactType<NodeStateProvider>();
47+
context.dependOnInheritedWidgetOfExactType<NodeStateProvider>();
4848
if (provider == null) return null;
4949
return provider;
5050
}

0 commit comments

Comments
 (0)