-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
配布されたデザイン7の実装(途中経過)
- Loading branch information
Showing
9 changed files
with
495 additions
and
261 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
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -0,0 +1,105 @@ | ||
import 'package:alexander/addIcon/web_icon_app_icons.dart'; | ||
import 'package:alexander/pages/theme/palette.dart'; | ||
import 'package:flutter/cupertino.dart'; | ||
import 'package:flutter/material.dart'; | ||
|
||
//検索バー | ||
class Mainmenuserch extends StatelessWidget { | ||
const Mainmenuserch({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return const SizedBox( | ||
width: 437, | ||
height: 32, | ||
child: TextField( | ||
textAlignVertical: TextAlignVertical.center, | ||
decoration: InputDecoration( | ||
border: OutlineInputBorder( | ||
borderRadius: BorderRadius.all(Radius.circular(20)), | ||
borderSide: BorderSide( | ||
color: Palette.borderColor, | ||
), | ||
), | ||
prefixIcon: Icon(Icons.search), | ||
hintText: '検索', | ||
), | ||
), | ||
); | ||
} | ||
} | ||
|
||
//チームを抜けるボタン | ||
class Exitteambutton extends StatelessWidget { | ||
const Exitteambutton({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Padding( | ||
padding: const EdgeInsets.all(15), | ||
child: Container( | ||
alignment: Alignment.center, | ||
width: 121, | ||
height: 32, | ||
decoration: BoxDecoration( | ||
color: Palette.bgContentsColor, | ||
// 角丸 | ||
borderRadius: BorderRadius.circular(5), | ||
), | ||
child: InkWell( | ||
//ボタンのクリックイベント | ||
onTap: () {}, | ||
child: const Text( | ||
'チームを抜ける', | ||
style: TextStyle(color: Palette.mainTextColor), | ||
textAlign: TextAlign.center, | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} | ||
|
||
//整理整頓ボタン表示 | ||
class Tidybutton extends StatelessWidget { | ||
const Tidybutton({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Container( | ||
alignment: Alignment.center, | ||
width: 178, | ||
height: 32, | ||
decoration: BoxDecoration( | ||
color: Palette.inviteandborder, | ||
// 角丸 | ||
borderRadius: BorderRadius.circular(5), | ||
), | ||
child: InkWell( | ||
//ボタンのクリックイベント | ||
onTap: () {}, | ||
child: Row( | ||
mainAxisAlignment: MainAxisAlignment.spaceEvenly, | ||
children: [ | ||
const Padding( | ||
padding: EdgeInsets.only(bottom: 5), | ||
child: Text( | ||
'整理整頓をする', | ||
style: TextStyle( | ||
color: Palette.bgContentsLightColor, fontSize: 16), | ||
textAlign: TextAlign.center, | ||
), | ||
), | ||
const Padding( | ||
padding: EdgeInsets.only(top: 4), | ||
child: Icon( | ||
WebIconApp.keyboardarrowdown, | ||
color: Palette.bgContentsLightColor, | ||
), | ||
), | ||
], | ||
), | ||
), | ||
); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,138 @@ | ||
import 'package:alexander/pages/theme/palette.dart'; | ||
import 'package:flutter/cupertino.dart'; | ||
import 'package:flutter/material.dart'; | ||
|
||
class SelectChangeButton extends StatelessWidget { | ||
const SelectChangeButton({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Padding( | ||
padding: const EdgeInsets.only(left: 56, top: 25), | ||
child: Row( | ||
children: [ | ||
//マンダラ | ||
Padding( | ||
padding: const EdgeInsets.only(right: 15), | ||
child: Column( | ||
children: [ | ||
Container( | ||
height: 48, | ||
width: 48, | ||
decoration: BoxDecoration( | ||
border: Border.all(color: Palette.borderColor), | ||
borderRadius: BorderRadius.circular(5), | ||
), | ||
child: InkWell( | ||
//マンダラボタンクリックイベント | ||
onTap: () {}, | ||
), | ||
), | ||
const Padding( | ||
padding: EdgeInsets.only(top: 10), | ||
child: Text( | ||
'マンダラ', | ||
style: | ||
TextStyle(fontSize: 12, color: Palette.accentTextColor), | ||
), | ||
) | ||
], | ||
), | ||
), | ||
//履歴 | ||
Padding( | ||
padding: const EdgeInsets.only(right: 15), | ||
child: Column( | ||
children: [ | ||
Container( | ||
height: 48, | ||
width: 48, | ||
decoration: BoxDecoration( | ||
border: Border.all(color: Palette.borderColor), | ||
borderRadius: BorderRadius.circular(5), | ||
), | ||
child: InkWell( | ||
//履歴ボタンのクリックイベント | ||
onTap: () {}, | ||
child: const Icon( | ||
Icons.access_time, | ||
color: Palette.accentTextColor, | ||
), | ||
), | ||
), | ||
const Padding( | ||
padding: EdgeInsets.only(top: 10), | ||
child: Text( | ||
'履歴', | ||
style: | ||
TextStyle(fontSize: 12, color: Palette.accentTextColor), | ||
), | ||
) | ||
], | ||
), | ||
), | ||
//ミックス | ||
Padding( | ||
padding: const EdgeInsets.only(right: 15), | ||
child: Column( | ||
children: [ | ||
Container( | ||
height: 48, | ||
width: 48, | ||
decoration: BoxDecoration( | ||
border: Border.all(color: Palette.borderColor), | ||
borderRadius: BorderRadius.circular(5), | ||
), | ||
child: InkWell( | ||
//ミックスボタンクリックイベント | ||
onTap: () {}, | ||
), | ||
), | ||
const Padding( | ||
padding: EdgeInsets.only(top: 10), | ||
child: Text( | ||
'ミックス', | ||
style: | ||
TextStyle(fontSize: 12, color: Palette.accentTextColor), | ||
), | ||
) | ||
], | ||
), | ||
), | ||
//消去 | ||
Padding( | ||
padding: const EdgeInsets.only(right: 15), | ||
child: Column( | ||
children: [ | ||
Container( | ||
height: 48, | ||
width: 48, | ||
decoration: BoxDecoration( | ||
border: Border.all(color: Palette.borderColor), | ||
borderRadius: BorderRadius.circular(5), | ||
), | ||
child: InkWell( | ||
//消去ボタンクリックイベント | ||
onTap: () {}, | ||
child: const Icon( | ||
Icons.delete_outline, | ||
color: Palette.accentTextColor, | ||
), | ||
), | ||
), | ||
const Padding( | ||
padding: EdgeInsets.only(top: 10), | ||
child: Text( | ||
'消去', | ||
style: | ||
TextStyle(fontSize: 12, color: Palette.accentTextColor), | ||
), | ||
) | ||
], | ||
), | ||
) | ||
], | ||
), | ||
); | ||
} | ||
} |
Oops, something went wrong.