-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
32acb26
commit 7c8d6a8
Showing
6 changed files
with
161 additions
and
90 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,6 +1,27 @@ | ||
import 'package:flutter/cupertino.dart'; | ||
import 'package:api_client/models/activity_model.dart'; | ||
import 'package:api_client/models/displayname_model.dart'; | ||
import 'package:api_client/models/enums/activity_state_enum.dart'; | ||
import 'package:api_client/models/enums/complete_mark_enum.dart'; | ||
import 'package:api_client/models/enums/default_timer_enum.dart'; | ||
import 'package:api_client/models/pictogram_model.dart'; | ||
import 'package:api_client/models/settings_model.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:weekplanner/blocs/auth_bloc.dart'; | ||
import 'package:weekplanner/blocs/pictogram_image_bloc.dart'; | ||
import 'package:weekplanner/blocs/settings_bloc.dart'; | ||
import 'package:weekplanner/blocs/timer_bloc.dart'; | ||
import 'package:weekplanner/models/enums/timer_running_mode.dart'; | ||
import 'package:weekplanner/models/enums/weekplan_mode.dart'; | ||
import 'package:weekplanner/widgets/pictogram_text.dart'; | ||
import 'package:weekplanner/widgets/timer_widgets/timer_piechart.dart'; | ||
|
||
abstract class Iuser{ | ||
Widget build_avatar_icon_behavior (); | ||
Widget build_choice_board_behavior (); | ||
Widget _buildActivityCard( | ||
BuildContext context, | ||
ActivityModel activity, | ||
TimerBloc timerBloc, | ||
DisplayNameModel user, | ||
AsyncSnapshot<WeekplanMode> weekModeSnapShot, | ||
AsyncSnapshot<SettingsModel> settingsSnapShot); | ||
} |
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,29 +1,31 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:weekplanner/Users/Iuser.dart'; | ||
import 'package:weekplanner/users/Iuser.dart'; | ||
import 'package:flutter/cupertino.dart'; | ||
import 'package:api_client/models/activity_model.dart'; | ||
import 'package:api_client/models/displayname_model.dart'; | ||
import 'package:api_client/models/enums/activity_state_enum.dart'; | ||
import 'package:api_client/models/enums/complete_mark_enum.dart'; | ||
import 'package:api_client/models/enums/default_timer_enum.dart'; | ||
import 'package:api_client/models/pictogram_model.dart'; | ||
import 'package:api_client/models/settings_model.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:weekplanner/blocs/auth_bloc.dart'; | ||
import 'package:weekplanner/blocs/pictogram_image_bloc.dart'; | ||
import 'package:weekplanner/blocs/settings_bloc.dart'; | ||
import 'package:weekplanner/blocs/timer_bloc.dart'; | ||
import 'package:weekplanner/models/enums/timer_running_mode.dart'; | ||
import 'package:weekplanner/models/enums/weekplan_mode.dart'; | ||
import 'package:weekplanner/widgets/pictogram_text.dart'; | ||
import 'package:weekplanner/widgets/timer_widgets/timer_piechart.dart'; | ||
|
||
class citizen implements Iuser{ | ||
|
||
|
||
|
||
class citizen implements IUser{ | ||
@override | ||
Widget build_avatar_icon_behavior(BuildContext context){ | ||
return Container( | ||
width: 400, | ||
height: 400, | ||
child: Container( | ||
margin: EdgeInsets.all(MediaQuery.of(context).size.width * 0.02), | ||
child: const CircleAvatar( | ||
key: Key('PlaceholderAvatar'), | ||
radius: 20, | ||
backgroundImage: AssetImage('assets/login_screen_background_image.png'), | ||
), | ||
), | ||
); | ||
} | ||
|
||
} | ||
@override | ||
Widget build_choice_board_behavior (){ | ||
|
||
|
||
} | ||
|
||
|
||
|
||
} |
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