-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implement nested header * Add tests * Add documentation * Commit from GitHub Actions (Forui Presubmit) * Refactor code to use Header.nested() * Refactor code to use FHeader.nested() * Implement nested header * Add tests * Add documentation * Commit from GitHub Actions (Forui Presubmit) * Refactor code to use Header.nested() * Commit from GitHub Actions (Forui Samples Presubmit) * Fix pr issues * Apply suggestions from code review Co-authored-by: Matthias Ngeo <[email protected]> --------- Co-authored-by: Matthias Ngeo <[email protected]>
- Loading branch information
Showing
29 changed files
with
817 additions
and
329 deletions.
There are no files selected for viewing
8 changes: 0 additions & 8 deletions
8
.idea/runConfigurations/forui___update_golden_test_images.xml
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
NEXT_PUBLIC_DEMO_URL=https://dev.demo.forui.dev | ||
NEXT_PUBLIC_DEMO_URL=http://localhost:51624 | ||
NEXT_PUBLIC_DEMO_URL=http://localhost:3001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
## 0.2.0 | ||
|
||
* Add `Header.nested` widget. | ||
|
||
### Breaking changes | ||
|
||
* `FHeaderStyle` have been nested in `FHeaderStyles.rootStyle`. | ||
* `FHeaderActionStyle.action` parameter has been renamed to `FRootHeaderStyle.actionStyle`. | ||
* `FHeaderActionStyle.padding` parameter has been moved to `FRootHeaderStyle.actionSpacing`. | ||
|
||
## 0.1.0 | ||
|
||
* Initial release! 🚀 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import 'package:forui/forui.dart'; | ||
|
||
class Example extends StatefulWidget { | ||
const Example({super.key}); | ||
|
||
@override | ||
State<Example> createState() => _ExampleState(); | ||
} | ||
|
||
class _ExampleState extends State<Example> { | ||
@override | ||
void initState() { | ||
super.initState(); | ||
} | ||
|
||
@override | ||
Widget build(BuildContext context) => Column( | ||
mainAxisSize: MainAxisSize.min, | ||
crossAxisAlignment: CrossAxisAlignment.start, | ||
children: [ | ||
const SizedBox(height: 10), | ||
Expanded( | ||
child: FTabs( | ||
tabs: [ | ||
FTabEntry( | ||
label: 'Account', | ||
content: FCard( | ||
title: 'Account', | ||
subtitle: 'Make changes to your account here. Click save when you are done.', | ||
child: Column( | ||
children: [ | ||
Container( | ||
color: Colors.red, | ||
height: 100, | ||
), | ||
], | ||
), | ||
), | ||
), | ||
FTabEntry( | ||
label: 'Password', | ||
content: FCard( | ||
title: 'Password', | ||
subtitle: 'Change your password here. After saving, you will be logged out.', | ||
child: Column( | ||
children: [ | ||
Container( | ||
color: Colors.blue, | ||
height: 100, | ||
) | ||
], | ||
), | ||
), | ||
), | ||
], | ||
), | ||
), | ||
], | ||
); | ||
} |
Oops, something went wrong.