Skip to content

Overview

Janina Krueger edited this page Jun 17, 2022 · 2 revisions

Widgets

[Field and Coordinates](documentation/flutter/Main Screen/Field and Coordinates)

  • Portrait Mode
  • Get coordinates of a click on screen
    -> Used Flutter Widget: GestureDetector
  • Handball field to determine action location
    -> Used Flutter Widget: CustomPaint
    -> Widget FieldPainter for Field painting
    -> Class SectorCalc for Sector determination
    -> Widget CustomField which puts field painting and sector determination together
  • Swipe between left and right field side
    -> Used Flutter Widget: [PageView] (https://api.flutter.dev/flutter/widgets/PageView-class.html)
    -> Widget FieldSwitch

[Game Action](documentation/flutter/Main Screen/Game Action)

  • Action Selection Menu
    -> build and opened with function callActionMenu()
  • Player Selection Menu
    -> build and opened with function callPlayerMenu() -> Used Flutter Widget: RFlutter Alert

[Helpers](documentation/flutter/Main Screen/Helpers)

  • App Bar Menu

[On Startup](documentation/flutter/Main Screen/On Startup)

  • Initialization with Firebase data

[Player Bar](documentation/flutter/Main Screen/Player Bar)

  • Widget EfScoreBar

tbd:

  • Stopwatch
  • Action feed

Clone this wiki locally