-
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.
- Loading branch information
Showing
15 changed files
with
212 additions
and
175 deletions.
There are no files selected for viewing
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 +1 @@ | ||
NEXT_PUBLIC_DEMO_URL=https://demo.master.forui.dev/card | ||
NEXT_PUBLIC_DEMO_URL=https://dev.demo.forui.dev |
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
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 |
---|---|---|
|
@@ -12,46 +12,56 @@ class ScaffoldPage extends SampleScaffold { | |
}); | ||
|
||
@override | ||
Widget child(BuildContext context) => FScaffold( | ||
header: FHeader( | ||
title: 'Settings', | ||
actions: [ | ||
FHeaderAction( | ||
icon: FAssets.icons.ellipsis, | ||
onPress: () {}, | ||
), | ||
], | ||
), | ||
content: ListView( | ||
children: [ | ||
FCard( | ||
title: 'Account', | ||
subtitle: 'Make changes to your account here. Click save when you are done.', | ||
child: Padding( | ||
padding: const EdgeInsets.only(top: 10), | ||
child: Column( | ||
children: [ | ||
const FTextField( | ||
label: 'Name', | ||
hint: 'John Renalo', | ||
), | ||
const SizedBox(height: 10), | ||
const FTextField( | ||
label: 'Email', | ||
hint: '[email protected]', | ||
), | ||
Padding( | ||
padding: const EdgeInsets.only(top: 24, bottom: 16), | ||
child: FButton( | ||
label: 'Save', | ||
onPress: () {}, | ||
Widget child(BuildContext context) => Column( | ||
mainAxisAlignment: MainAxisAlignment.center, | ||
children: [ | ||
const SizedBox(height: 30), | ||
SizedBox( | ||
height: 420, | ||
child: FScaffold( | ||
header: FHeader( | ||
title: 'Settings', | ||
actions: [ | ||
FHeaderAction( | ||
icon: FAssets.icons.ellipsis, | ||
onPress: () {}, | ||
), | ||
], | ||
), | ||
content: Column( | ||
children: [ | ||
const SizedBox(height: 5), | ||
FCard( | ||
title: 'Account', | ||
subtitle: 'Make changes to your account here. Click save when you are done.', | ||
child: Padding( | ||
padding: const EdgeInsets.only(top: 10), | ||
child: Column( | ||
children: [ | ||
const FTextField( | ||
label: 'Name', | ||
hint: 'John Renalo', | ||
), | ||
const SizedBox(height: 10), | ||
const FTextField( | ||
label: 'Email', | ||
hint: '[email protected]', | ||
), | ||
Padding( | ||
padding: const EdgeInsets.only(top: 24, bottom: 16), | ||
child: FButton( | ||
label: 'Save', | ||
onPress: () {}, | ||
), | ||
), | ||
], | ||
), | ||
), | ||
], | ||
), | ||
), | ||
], | ||
), | ||
), | ||
], | ||
), | ||
); | ||
), | ||
], | ||
); | ||
} |
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
Oops, something went wrong.