Skip to content

Commit

Permalink
Commit from GitHub Actions (Forui Presubmit)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pante committed Jul 23, 2024
1 parent e1e04c0 commit 97e0c5f
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 12 deletions.
2 changes: 1 addition & 1 deletion forui/lib/src/widgets/calendar/calendar.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:meta/meta.dart';

import 'package:meta/meta.dart';
import 'package:sugar/sugar.dart';

import 'package:forui/forui.dart';
Expand Down
3 changes: 2 additions & 1 deletion forui/lib/src/widgets/checkbox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';

import 'package:forui/forui.dart';
import 'package:meta/meta.dart';

import 'package:forui/forui.dart';

/// A checkbox control that allows the user to toggle between checked and not checked.
///
/// A [FCheckbox] is internally a [FormField], therefore it can be used in a form.
Expand Down
6 changes: 4 additions & 2 deletions forui/lib/src/widgets/resizable/resizable.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:forui/forui.dart';
import 'package:forui/src/widgets/resizable/resizable_controller.dart';

import 'package:meta/meta.dart';
import 'package:sugar/sugar.dart';

import 'package:forui/forui.dart';
import 'package:forui/src/widgets/resizable/resizable_controller.dart';

export '/src/widgets/resizable/resizable_region.dart';
export '/src/widgets/resizable/resizable_controller.dart' hide ResizableController, Resize, SelectAndResize;
export '/src/widgets/resizable/resizable_region_data.dart' hide UpdatableResizableRegionData;
Expand Down
4 changes: 3 additions & 1 deletion forui/lib/src/widgets/resizable/resizable_controller.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import 'package:flutter/widgets.dart';

import 'package:meta/meta.dart';

import 'package:forui/forui.dart';
import 'package:forui/src/widgets/resizable/resizable_region_data.dart';
import 'package:meta/meta.dart';

/// Possible ways for a user to interact with a [FResizable].
sealed class FResizableInteraction {
Expand Down
4 changes: 3 additions & 1 deletion forui/lib/src/widgets/resizable/resizable_region.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

import 'package:sugar/sugar.dart';

import 'package:forui/src/widgets/resizable/resizable.dart';
import 'package:forui/src/widgets/resizable/resizable_controller.dart';
import 'package:forui/src/widgets/resizable/slider.dart';
import 'package:sugar/sugar.dart';

/// A resizable region that can be resized along the parent [FResizable]'s axis. It should always be in a [FResizable].
///
Expand Down
4 changes: 3 additions & 1 deletion forui/lib/src/widgets/resizable/resizable_region_data.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:forui/forui.dart';

import 'package:meta/meta.dart';

import 'package:forui/forui.dart';

/// A [FResizableRegion]'s data.
final class FResizableRegionData with Diagnosticable {
/// The resizable region's index.
Expand Down
4 changes: 3 additions & 1 deletion forui/lib/src/widgets/resizable/slider.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:forui/src/widgets/resizable/resizable_controller.dart';

import 'package:meta/meta.dart';

import 'package:forui/src/widgets/resizable/resizable_controller.dart';

@internal
sealed class Slider extends StatelessWidget {
final ResizableController controller;
Expand Down
2 changes: 1 addition & 1 deletion forui/lib/src/widgets/tabs/tabs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:meta/meta.dart';

import 'package:forui/forui.dart';
import 'package:meta/meta.dart';

part 'tabs_style.dart';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'package:flutter/widgets.dart';

import 'package:flutter_test/flutter_test.dart';

import 'package:forui/forui.dart';
import 'package:forui/src/widgets/resizable/resizable_controller.dart';

Expand Down
2 changes: 2 additions & 0 deletions forui/test/src/widgets/resizable/resizable_data_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'package:flutter/widgets.dart';

import 'package:flutter_test/flutter_test.dart';

import 'package:forui/src/widgets/resizable/resizable_region_data.dart';

void main() {
Expand Down
2 changes: 2 additions & 0 deletions forui/test/src/widgets/resizable/resizable_region_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'package:flutter/widgets.dart';

import 'package:flutter_test/flutter_test.dart';

import 'package:forui/forui.dart';

Widget stub(BuildContext context, FResizableRegionData data, Widget? child) => child!;
Expand Down
2 changes: 2 additions & 0 deletions forui/test/src/widgets/resizable/resizable_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'package:flutter/material.dart';

import 'package:flutter_test/flutter_test.dart';

import 'package:forui/forui.dart';

void main() {
Expand Down
7 changes: 4 additions & 3 deletions forui/test/src/widgets/resizable/slider_test.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import 'package:flutter/widgets.dart';

import 'package:flutter_test/flutter_test.dart';
import 'package:forui/forui.dart';
import 'package:forui/src/widgets/resizable/resizable_controller.dart';
import 'package:forui/src/widgets/resizable/slider.dart';
import 'package:mockito/annotations.dart';
import 'package:mockito/mockito.dart';

import 'package:forui/forui.dart';
import 'package:forui/src/widgets/resizable/resizable_controller.dart';
import 'package:forui/src/widgets/resizable/slider.dart';
import 'slider_test.mocks.dart';

@GenerateNiceMocks([MockSpec<ResizableController>()])
Expand Down

0 comments on commit 97e0c5f

Please sign in to comment.