Download: StarUML.io
Source: jorgeancal
After installing StartUML successfully, modify LicenseManagerDomain.js as follow:
/**| // TodoItemType | |
| sealed interface TodoItemType { | |
| data class Todo( | |
| val id: Int, | |
| val title: String, | |
| val description: String, | |
| val isChecked: Boolean = false | |
| ): TodoItemType | |
| data class AddTodo(val title: String = "", val description: String = ""): TodoItemType |
| void main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| // Check if there is a user logged in (database) | |
| // If there is a user logged in, go to home screen | |
| // If there is no user logged in, go to onboarding screen | |
| UserDao userDao = UserDao(); | |
| List<UserEntity> users = await userDao.getAllUsers(); | |
| if (users.isNotEmpty) { |
| class SomeFragment : Fragment() { | |
| private val overshootInterpolator = OvershootInterpolator() | |
| private var googleMap: GoogleMap? = null | |
| private lateinit var fusedLocationClient: FusedLocationProviderClient | |
| ... | |
| private val callback = OnMapReadyCallback { googleMap -> | |
| this.googleMap = googleMap | |
| class HomeFragment : Fragment(), SearchView.OnSearchView { | |
| private lateinit var searchView: SearchView | |
| override fun onCreateView( | |
| inflater: LayoutInflater, container: ViewGroup?, | |
| savedInstanceState: Bundle? | |
| ): View? { | |
| ... | |
| setHasOptionsMenu(true) |
| val constraintSet = ConstraintSet() | |
| // clonamos el constrainSet del padre del elemento que vamos a modificar | |
| constraintSet.clone(binding.containerVideoCall) | |
| // Obtenemos el id del elemento a modificar | |
| val id = binding.surfaceRender.id | |
| // Cambiamos el margen | |
| constraintSet.setMargin(id, ConstraintSet.END, Utils.dpToPx(context!!, 16f)) |
| fun showDialogToInformPermission( | |
| context: Context, | |
| fragmentManager: FragmentManager, | |
| icon: Int, | |
| message: Int, | |
| accept: () -> Unit, | |
| cancel: () -> Unit | |
| ) { | |
| val dialog = PermissionDialogFragment.newInstance( |
Download: StarUML.io
Source: jorgeancal
After installing StartUML successfully, modify LicenseManagerDomain.js as follow:
/**