Skip to content

Commit

Permalink
Merge branch 'stable' into dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
#	example/lib/main.dart
#	example/lib/pages/buttons_page.dart
#	example/lib/pages/colors_page.dart
#	example/lib/pages/dialogs_page.dart
#	example/lib/pages/fields_page.dart
#	example/lib/pages/indicators_page.dart
#	example/lib/pages/toolbar_page.dart
#	example/pubspec.lock
#	lib/macos_ui.dart
#	lib/src/fields/text_field.dart
#	lib/src/indicators/scrollbar.dart
#	lib/src/layout/content_area.dart
#	lib/src/layout/window.dart
#	lib/src/selectors/date_picker.dart
#	pubspec.lock
#	pubspec.yaml
#	test/buttons/help_button_test.dart
#	test/buttons/icon_button_test.dart
#	test/buttons/pulldown_button_test.dart
#	test/buttons/push_button_test.dart
#	test/buttons/radio_button_test.dart
#	test/buttons/segmented_control_test.dart
#	test/layout/macos_list_tile_test.dart
#	test/layout/resizeable_pane_test.dart
#	test/selectors/date_picker_test.dart
  • Loading branch information
GroovinChip committed Feb 13, 2023
2 parents e08ac84 + 02cd183 commit 17982c8
Show file tree
Hide file tree
Showing 24 changed files with 28 additions and 27 deletions.
8 changes: 4 additions & 4 deletions example/lib/pages/indicators_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ class _IndicatorsPageState extends State<IndicatorsPage> {
child: Column(
children: [
CapacityIndicator(
value: sliderValue,
onChanged: (v) => setState(() => sliderValue = v),
value: capacitorValue,
onChanged: (v) => setState(() => capacitorValue = v),
splits: 20,
discrete: true,
),
const SizedBox(height: 20),
CapacityIndicator(
value: sliderValue,
onChanged: (v) => setState(() => sliderValue = v),
value: capacitorValue,
onChanged: (v) => setState(() => capacitorValue = v),
),
const SizedBox(height: 20),
MacosSlider(
Expand Down
1 change: 1 addition & 0 deletions example/lib/pages/selectors_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class _SelectorsPageState extends State<SelectorsPage> {
ContentArea(
builder: (context, scrollController) {
return SingleChildScrollView(
controller: scrollController,
padding: const EdgeInsets.all(20),
child: Column(
children: [
Expand Down
2 changes: 1 addition & 1 deletion example/lib/pages/tabview_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class _TabViewPageState extends State<TabViewPage> {
),
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Padding(
padding: const EdgeInsets.all(24.0),
child: MacosTabView(
Expand Down
2 changes: 1 addition & 1 deletion test/buttons/checkbox_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return StatefulBuilder(
builder: (context, setState) {
return MacosCheckbox(
Expand Down
2 changes: 1 addition & 1 deletion test/buttons/help_button_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return HelpButton(
onPressed: mockOnPressedFunction.handler,
);
Expand Down
2 changes: 1 addition & 1 deletion test/buttons/icon_button_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return MacosIconButton(
icon: const Icon(CupertinoIcons.add),
onPressed: mockOnPressedFunction.handler,
Expand Down
2 changes: 1 addition & 1 deletion test/buttons/popup_button_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return StatefulBuilder(
builder: (context, setState) {
return MacosPopupButton<String>(
Expand Down
2 changes: 1 addition & 1 deletion test/buttons/pulldown_button_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Center(
child: MacosPulldownButton(
title: "test",
Expand Down
2 changes: 1 addition & 1 deletion test/buttons/push_button_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return PushButton(
buttonSize: ButtonSize.small,
onPressed: mockOnPressedFunction.handler,
Expand Down
2 changes: 1 addition & 1 deletion test/buttons/radio_button_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Center(
child: MacosRadioButton<TestOptions>(
value: TestOptions.first,
Expand Down
2 changes: 1 addition & 1 deletion test/buttons/segmented_control_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Center(
child: MacosSegmentedControl(
controller: controller,
Expand Down
2 changes: 1 addition & 1 deletion test/buttons/switch_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Center(
child: MacosSwitch(
value: selected,
Expand Down
2 changes: 1 addition & 1 deletion test/fields/search_field_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Center(
child: SizedBox(
width: 300.0,
Expand Down
2 changes: 1 addition & 1 deletion test/fields/text_field_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Center(
child: MacosTextField(
controller: controller,
Expand Down
2 changes: 1 addition & 1 deletion test/layout/macos_list_tile_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return MacosListTile(
title: const Text('List Tile'),
onClick: mockOnPressedFunction.handler,
Expand Down
2 changes: 1 addition & 1 deletion test/layout/tab_view_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Padding(
padding: const EdgeInsets.all(24.0),
child: MacosTabView(
Expand Down
4 changes: 2 additions & 2 deletions test/selectors/date_picker_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Center(
child: MacosDatePicker(
onDateChanged: (date) {},
Expand Down Expand Up @@ -262,7 +262,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
return Center(
child: MacosDatePicker(
onDateChanged: (date) {
Expand Down
2 changes: 1 addition & 1 deletion test/theme/help_button_theme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
capturedContext = context;
return const HelpButton();
},
Expand Down
2 changes: 1 addition & 1 deletion test/theme/icon_button_theme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
capturedContext = context;
return MacosIconButton(
icon: const Icon(CupertinoIcons.add),
Expand Down
2 changes: 1 addition & 1 deletion test/theme/icon_theme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
capturedContext = context;
return const MacosIcon(
CupertinoIcons.add,
Expand Down
2 changes: 1 addition & 1 deletion test/theme/popup_button_theme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
capturedContext = context;
return MacosPopupButton<String>(
value: popupValue,
Expand Down
2 changes: 1 addition & 1 deletion test/theme/pulldown_button_theme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
capturedContext = context;
return const Center(
child: MacosPulldownButton(
Expand Down
2 changes: 1 addition & 1 deletion test/theme/push_button_theme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
capturedContext = context;
return const PushButton(
buttonSize: ButtonSize.small,
Expand Down
2 changes: 1 addition & 1 deletion test/theme/search_field_theme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void main() {
child: MacosScaffold(
children: [
ContentArea(
builder: (context, scrollController) {
builder: (context, _) {
capturedContext = context;
return const Center(
child: MacosSearchField(),
Expand Down

0 comments on commit 17982c8

Please sign in to comment.